]> git.itanic.dy.fi Git - sdl-planets/commitdiff
Makefile: Enable DEBUG definition when debugging
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Mon, 5 Apr 2010 13:02:38 +0000 (16:02 +0300)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Mon, 5 Apr 2010 13:02:38 +0000 (16:02 +0300)
Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
Makefile

index 86498238846db220ad623486f042f47fe5741c8a..c4c765204c9c14460cdef19c5e2735f4923f533d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ sdl-planet: $(PLANET_OBJS)
        gcc $(LIBS) -o $@ $(PLANET_OBJS)
 
 debug-planets: $(PLANET_DEBUG_OBJS)
-       gcc $(LIBS) -o $@ $(PLANET_DEBUG_OBJS)
+       gcc $(LIBS) -o $@ $(PLANET_DEBUG_OBJS) -DDEBUG
 
 .c.o:
        @echo -e "\tCC\t" $@