3 LIBSDL = `sdl-config --libs`
4 LIBS = ${LIBSDL} ${LIBGL}
7 CXXFLAGS = -ggdb -Wall -pedantic
9 SRCS := entityManager.cpp
17 SRCS += Entities/Ball.cpp
18 SRCS += Entities/Entity.cpp
19 SRCS += Entities/Line.cpp
20 SRCS += Entities/Particle.cpp
21 SRCS += Entities/PhysicsEntity.cpp
22 SRCS += Entities/Point.cpp
23 SRCS += Entities/Polygon.cpp
24 SRCS += Entities/WindParticle.cpp
26 SRCS += GameStates/CreatingPolygon.cpp
27 SRCS += GameStates/GameState.cpp
28 SRCS += GameStates/Paused.cpp
29 SRCS += GameStates/Running.cpp
31 OBJS = ${SRCS:.cpp=.o}
33 TARGET = ../run_physics
41 ${CXX} ${CXXFLAGS} -o ${TARGET} $^ ${LIBS}
45 ${CXX} -MM $^ > ${DEPEND}
50 rm -f ${OBJS} ${TARGET} *~
61 cd ..; tar -cjf bluestar.tar.bz2 images/ source/