changed to a better make header hack ... added position delta to screen collisions...
[physics.git] / src / Makefile
index aca5527..3ed4b86 100644 (file)
@@ -45,6 +45,8 @@ SRCS += Effects/Effect.cpp
 SRCS += Effects/Gravity.cpp
 SRCS += Effects/Screen.cpp
 
+SRCS += config/config.cpp
+
 SRCS += input/inputManager.cpp
 
 SRCS += graphics/graphics.cpp
@@ -58,7 +60,7 @@ DEPS := ${SRCS:.cpp=.d}
 DEPS := $(addprefix ${DEPSDIR},${DEPS})
 
 HRDS := ${SRCS:.cpp=.h}
-HRDS := ${HRDS:main.h=} # remove main.h
+HRDS := $(filter-out main.h,$HRDS) # remove main.h
 HRDS += debug.h
 
 HRDS += graphics/colors.h