]> mj.ucw.cz Git - checkmail.git/blobdiff - Makefile
Better rules for coloring of flagged messages.
[checkmail.git] / Makefile
index 4e09ab4e53caa00691762a74c02ee87f8cb504e2..7b512d6b186a686492f5f9231c1b0cc7a4a6b3ab 100644 (file)
--- 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