OBJS = main.o implementations.o gameobject.o solidobject.o misc_objects.o helpers.o load_level.o
CXXFLAGS = -g  -std=c++17 -Wall 
LDFLAGS = -lGL -lglfw -lGLEW -pthread -g 

# For FreeBSD (doesn't seem to hurt anything on Linux)
CXXFLAGS += -I /usr/local/include
LDFLAGS += -L /usr/local/lib

all: ${OBJS}
	${CXX} ${OBJS}  ${LDFLAGS} -o game

clean:
	rm -f game ${OBJS}

test:	all
	./game

${OBJS} : game.h misc_objects.h
