CXX = g++
CXXFLAGS = -ggdb -Wall -pedantic
-SRCS = Vector2.cpp ticks.cpp main.cpp game.cpp entityManager.cpp gldraw.cpp graphics.cpp
+SRCS = Vector2.cpp ticks.cpp main.cpp game.cpp entityManager.cpp graphics.cpp
OBJS = ${SRCS:.cpp=.o}
TARGETS = ../run_physics
Vector2.o: Vector2.cpp Vector2.h mathw.h
ticks.o: ticks.cpp ticks.h
main.o: main.cpp game.h ticks.h graphics.h
-game.o: game.cpp game.h
+game.o: game.cpp game.h GameStates/GameState.h GameStates/Running.h \
+ GameStates/GameState.h GameStates/Paused.h GameStates/CreatingPolygon.h
entityManager.o: entityManager.cpp entityManager.h Entities/Entity.h \
Entities/../Vector2.h Entities/Particle.h Entities/Entity.h \
Entities/PhysicsEntity.h
-gldraw.o: gldraw.cpp
-graphics.o: graphics.cpp
+graphics.o: graphics.cpp graphics.h