]> mj.ucw.cz Git - maildups.git/blob - Makefile
Initial revision
[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.1
5 YEAR=2006
6
7 all: mdup
8
9 mdup: mdup.o util.o sha1.o
10
11 mdup.o: mdup.c util.h
12 util.o: util.c util.h
13 sha1.o: sha1.c util.h
14
15 clean:
16         rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core`
17         rm -f mdup
18         rm -rf maint/dist
19
20 distclean: clean
21
22 .PHONY: all clean distclean