]> git.itanic.dy.fi Git - sdl-planets/commitdiff
Makefile: Enable DEBUG definition in debug build
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Thu, 8 Apr 2010 19:36:06 +0000 (22:36 +0300)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Thu, 8 Apr 2010 19:36:30 +0000 (22:36 +0300)
Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
Makefile

index 35a581d64a31f57d5f17723b328d90ad3da4e5eb..0d38ebb8f551a71683b227ec2e2efc5a4c88a4da 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ endif
 
 %-debug.o: %.c
        @echo -e "\tCC\t" $@
 
 %-debug.o: %.c
        @echo -e "\tCC\t" $@
-       @$(CC) -MMD -MF .$@.d $(CFLAGS) -O0 -c $< -o $@
+       @$(CC) -MMD -MF .$@.d $(CFLAGS) -DDEBUG -O0 -c $< -o $@
 
 TAGS:
        @echo -e "\tTAGS\t"
 
 TAGS:
        @echo -e "\tTAGS\t"