]> mj.ucw.cz Git - umpf.git/blobdiff - Makefile
started work on locking mailboxes
[umpf.git] / Makefile
index a699feef1a8a5a548ecf9eef8f092bb4bf15b7c2..35976424351e3a090ef809505359cda66f6688be 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,14 @@
 all: brum 
 
 CC=gcc
-CFLAGS=-Wall -W -Wno-pointer-sign  -g
+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
        gcc -o $@ $^ $(LDLIBS)
 
+lock: 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 brum *.o core