# make game to build the game
# make clean to delete the previous build

GCC = g++ -lGL -lGLU -lglut -lm
SRC = $(wildcard *.cpp)
HEADER = $(wildcard *.hpp)
CFLAGS = -O4

game: $(SRC) 
	$(GCC) -o proj1 $^ $(CFLAGS)

# To compile for use with gbd, do 
# make game CFLAGS=-ggdb
# Then do gdb proj1 in the shell
# In gdb, you can: 
# run to run the program
# break classname:funname to put a break point on a function
# step to step one line at a time

clean: 
	rm -rf proj1