]> mj.ucw.cz Git - umpf.git/blobdiff - Makefile
rename to umpf, guess default mailbox
[umpf.git] / Makefile
index beb1a6ec5ba7bc627dece8d5edc0193c72099f1e..62772323215281a56f3313c6e364d74893bc40a5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,14 @@
-all: brum 
+all: umpf 
 
 CC=gcc
 CFLAGS=-Wall -W -Wno-pointer-sign -Wstrict-prototypes -Wmissing-prototypes -O2 -g
 LDLIBS=-lpcre
 
-brum: brum.c cond.tab.o int.o lex.o ham.o lists.o
+umpf: umpf.c cond.tab.o int.o lex.o ham.o lists.o lock.o
        gcc -o $@ $^ $(LDLIBS)
 
+lock.o: lex.o cond.tab.o
+
 cond.tab.o: cond.tab.c lex.o
 
 lex.o: lex.c cond.tab.c
@@ -21,4 +23,4 @@ cond.tab.c: cond.y
        bison -dvt cond.y
 
 clean:
-       rm -rf cond.tab.[ch] cond.output cond brum *.o
+       rm -rf cond.tab.[ch] cond.output cond umpf *.o core