]> mj.ucw.cz Git - maildups.git/blob - Makefile
d19e610701ea8c179bfecd198bdfe4e284f05497
[maildups.git] / Makefile
1 #DEBUG=-ggdb
2 CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Winline $(DEBUG) -std=gnu99 -DVERSION=$(VERSION) -DYEAR=$(YEAR)
3
4 VERSION=0.9
5 YEAR=2006
6
7 all: mdup smail
8
9 mdup: mdup.o util.o sha1.o
10 smail: smail.o util.o
11
12 mdup.o: mdup.c util.h
13 smail.o: smail.c util.h
14 util.o: util.c util.h
15 sha1.o: sha1.c util.h
16
17 clean:
18         rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core`
19         rm -f mdup smail
20         rm -rf maint/dist
21
22 distclean: clean
23
24 .PHONY: all clean distclean