diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -2,7 +2,7 @@ prefix = /usr -CFLAGS = -g -W -Wall -std=gnu11 `sdl2-config --cflags` +CFLAGS = -W -Wall -std=gnu11 `sdl2-config --cflags` LDFLAGS = `sdl2-config --libs` -lfreeimage TARGET = imv @@ -11,6 +11,9 @@ OBJECTS = main.o image.o texture.o navigator.o viewport.o $(TARGET): $(OBJECTS) $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS) +debug: CFLAGS += -DDEBUG -g +debug: $(TARGET) + clean: $(RM) $(TARGET) $(OBJECTS) |