Added boxes.o to clean target

Switched language to ANSI C / POSIX_SOURCE
Added -Wall -W to boxes core compilation
This commit is contained in:
Thomas Jensen 1999-03-19 17:58:14 +00:00
parent 1dd6fcd588
commit d3f766d62e

View File

@ -3,11 +3,11 @@
LEX = flex
YACC = yacc
CC = gcc
CFLAGS = -O
CFLAGS = -ansi -D_POSIX_C_SOURCE # -O
boxes: y.tab.o lex.yy.o boxes.o
$(CC) $(CFLAGS) -o boxes y.tab.o lex.yy.o boxes.o -ll
$(CC) $(CFLAGS) -Wall -W -o boxes y.tab.o lex.yy.o boxes.o -ll
lex.yy.o: lex.yy.c y.tab.h
@ -24,7 +24,7 @@ lex.yy.c: lexer.l boxes.h
clean:
rm -f lex.yy.c y.tab.c y.tab.h
rm -f lex.yy.o y.tab.o
rm -f boxes
rm -f boxes.o boxes
love:
@echo "Not in front of the kids, honey!"