From d3f766d62e96e62dc2a39941c31e230b97722e30 Mon Sep 17 00:00:00 2001 From: Thomas Jensen Date: Fri, 19 Mar 1999 17:58:14 +0000 Subject: [PATCH] Added boxes.o to clean target Switched language to ANSI C / POSIX_SOURCE Added -Wall -W to boxes core compilation --- src/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Makefile b/src/Makefile index d9823b4..7301677 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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!"