From 7281c95860a5c9e6d3f445b5a884c4d07d56dc77 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Mon, 23 Jun 2014 18:23:58 +0000 Subject: more bugfixes.. --- Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f41cff6..8382f75 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,9 @@ SOURCES=joshua.o main.o util.o chatbot.o games.o strings.o HEADERS=chatbot.h games.h joshua.h location.h strings.h map.h util.h -CXXFLAGS=-I. -lncurses -g -CFLAGS=-I. -std=gnu99 -g -all: $(SOURCES) $(HEADERS) - g++ $(SOURCES) -lncurses +CXXFLAGS=-I. -lncurses -g -O3 +CFLAGS=-I. -std=gnu99 -g -O3 +wargames: $(SOURCES) $(HEADERS) + g++ $(SOURCES) $(CXXFLAGS) -lncurses -o wargames +all: wargames Makefile clean: - rm -f $(SOURCES) a.out *~ + rm -f $(SOURCES) a.out wargames *~ -- cgit v1.1