X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=Makefile;h=7b512d6b186a686492f5f9231c1b0cc7a4a6b3ab;hb=dbae77bf7318b71cfafdbc8b957ffabcbf437367;hp=4e09ab4e53caa00691762a74c02ee87f8cb504e2;hpb=0d11f43580c21f74bd3359f47863881f997337fb;p=checkmail.git diff --git a/Makefile b/Makefile index 4e09ab4..7b512d6 100644 --- a/Makefile +++ b/Makefile @@ -1,17 +1,23 @@ #DEBUG=-ggdb -CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Winline $(DEBUG) -std=gnu99 +CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Winline $(DEBUG) -std=gnu99 -DVERSION=$(VERSION) -DYEAR=$(YEAR) LDFLAGS=-lncurses +VERSION=0.5 +YEAR=2007 + all: cm -cm: cm.o util.o +cm: cm.o util.o charset.o rfc822.o -cm.o: cm.c clists.h util.h +cm.o: cm.c clists.h util.h charset.h util.o: util.c util.h +charset.o: charset.c util.h charset.h rfc822.h +rfc822.o: rfc822.c util.h rfc822.h clean: rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core` - rm -f cm + rm -f cm log + rm -rf maint/dist distclean: clean