Commit Diff
--- Makefile +++ Makefile @@ -1,3 +1,5 @@ +YFLAGS += -d +CFLAGS += -Wall -Wextra PREFIX = /usr/local OBJ = parse.o lex.o gen.o main.o @@ -20,3 +22,5 @@ destruct: destruct.inc ${OBJ} destruct.inc: destruct.h sed "s/\$$/\\\\n/; s/$$(printf '\t')/\\\\t/g" < destruct.h | tr -d '\r\n' | sed 's/^/"/; s/$$/"/' > $@ + +lex.o: parse.o