]> mj.ucw.cz Git - checkmail.git/blob - Makefile
0c7ff67bc760bfa46858466d24379bbdafad0f72
[checkmail.git] / Makefile
1 DEBUG=-ggdb
2 CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Winline $(DEBUG) -std=gnu99
3 LDFLAGS=-lncurses
4
5 all: cm
6
7 cm: cm.o util.o
8
9 cm.o: cm.c clists.h util.h
10 util.o: util.c util.h
11
12 clean:
13         rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core`
14         rm -f cm
15
16 distclean: clean
17
18 .PHONY: all clean distclean