# use it when you want full speed
CFLAGS_BOOST=-O4 -pipe -fomit-frame-pointer -fexpensive-optimizations -frerun-cse-after-loop -frerun-loop-opt -malign-functions=4
# use it when you want to debug
CFLAGS_DEBUG=-pipe 

CFLAGS=$(CFLAGS_DEBUG) -Wall 

CC=gcc
OBJS=Main.o PathFinder.o RList.o Player.o App.o Target.o
INCLUDE=-I/usr/local/include -I.

all: runme
runme: $(OBJS)
	$(CC) $(CFLAGS) $(OBJS)  -o $@ 

%.o: %.cpp
	$(CC) $(CFLAGS) $(INCLUDE) -c -o $@ $< 

clean:
	/bin/rm *.o
	/bin/rm *~
