]> mj.ucw.cz Git - checkmail.git/blob - Makefile
First attempt at rfc2047 parsing.
[checkmail.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 LDFLAGS=-lncurses
4
5 VERSION=0.4
6 YEAR=2006
7
8 all: cm
9
10 cm: cm.o util.o rfc2047.o
11
12 cm.o: cm.c clists.h util.h
13 util.o: util.c util.h
14 rfc2047.o: rfc2047.c util.h
15
16 clean:
17         rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core`
18         rm -f cm log
19         rm -rf maint/dist
20
21 distclean: clean
22
23 .PHONY: all clean distclean