created a gravity well
[physics.git] / src / Makefile
index 638655a..b04d5cd 100644 (file)
@@ -43,6 +43,7 @@ SRCS += GameStates/Running.cpp
 
 SRCS += Effects/Effect.cpp
 SRCS += Effects/Gravity.cpp
+SRCS += Effects/GravityWell.cpp
 SRCS += Effects/Screen.cpp
 
 SRCS += config/config.cpp
@@ -60,7 +61,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