summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2ded1b2..fa629e2 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ LIBS=-ldl `pkg-config --libs --cflags sdl2 gl` -l:libbox2d.a
DEBUG_CFLAGS=$(CFLAGS) $(WARNINGS) $(LIBS) -DDEBUG -O0 -g
obj/debug: physics obj/sim.so obj
touch obj/debug
-physics: main.cpp gui.hpp sim.cpp time.cpp
+physics: *.[ch]*
$(CXX) main.cpp -o $@ $(DEBUG_CFLAGS)
# obj/sim.so: *.[ch]* obj
# $(CXX) sim.cpp -fPIC -shared -o $@ $(DEBUG_CFLAGS)