From: Timo Kokkonen Date: Mon, 5 Apr 2010 13:02:38 +0000 (+0300) Subject: Makefile: Enable DEBUG definition when debugging X-Git-Url: http://git.itanic.dy.fi/?p=sdl-planets;a=commitdiff_plain;h=c42d9f9bfe658fa351919035cf70c9d7bc38482f Makefile: Enable DEBUG definition when debugging Signed-off-by: Timo Kokkonen --- diff --git a/Makefile b/Makefile index 8649823..c4c7652 100644 --- 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" $@