-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: lex.o cond.tab.o
+lock.o: lex.o cond.tab.o
cond.tab.o: cond.tab.c lex.o
bison -dvt cond.y
clean:
- rm -rf cond.tab.[ch] cond.output cond brum *.o core
+ rm -rf cond.tab.[ch] cond.output cond umpf *.o core