summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bratch <l_bratch@yahoo.co.uk>2010-12-21 18:20:26 +0000
committerLuke Bratch <l_bratch@yahoo.co.uk>2010-12-21 18:20:26 +0000
commit52881c723c69425daff692a6f27ffad430370f13 (patch)
tree5d77b56c986fbc1e66527858b2e5328895bd3b8f
parent868ee7753ef812e49918a3068ae640271ed58959 (diff)
Have Makefile check its dependencies
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8a8bb8d..beeb011 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
CC = g++
-intensemarcus:
+intensemarcus: intensemarcus.h intensemarcus.cpp Creature.h Creature.cpp Hazard.h Hazard.cpp Level.h Level.cpp MapObject.h MapObject.cpp Monster.h Monster.cpp Pickup.h Pickup.cpp Platform.h Platform.cpp Player.h Player.cpp Screen.h Screen.cpp Sprite.h Sprite.cpp
$(CC) -lSDL -lSDL_image main.cpp intensemarcus.cpp Creature.cpp \
Hazard.cpp Level.cpp MapObject.cpp Monster.cpp Pickup.cpp Platform.cpp \
Player.cpp Screen.cpp Sprite.cpp -o intensemarcus