-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.am
22 lines (20 loc) · 727 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
AM_CFLAGS = -W -Wall -Wextra -Wno-unused
DISTCLEANFILES = *~ DEADJOE semantic.cache *.gdb *.elf core core.* *.d
doc_DATA = README.md LICENSE
EXTRA_DIST = README.md LICENSE
bin_PROGRAMS = solicit
solicit_SOURCES = solicit.c common.c
sbin_PROGRAMS = mrdisc
mrdisc_SOURCES = mrdisc.c common.c if.c if.h inet.c inet.h
release: distcheck
@for file in $(DIST_ARCHIVES); do \
md5sum $$file > ../$$file.md5; \
done
@mv $(DIST_ARCHIVES) ../
@echo
@echo "Resulting release files in ../"
@echo "================================================================="
@for file in $(DIST_ARCHIVES); do \
printf "%-32s Distribution tarball\n" $$file; \
printf "%-32s " $$file.md5; cat ../$$file.md5 | cut -f1 -d' '; \
done