Fix bulding with make DEBUG=1 on .c files

This commit is contained in:
Maschell 2022-01-30 13:24:33 +01:00
parent 614f58ea8e
commit 03ba030cd5

View File

@ -47,7 +47,7 @@ LDFLAGS = -g $(ARCH) $(RPXSPECS) -Wl,-Map,$(notdir $*.map) -T$(WUMS_ROOT)/share/
ifeq ($(DEBUG),1)
CXXFLAGS += -DDEBUG -g
CCFLAGS += -DDEBUG -g
CFLAGS += -DDEBUG -g
endif
LIBS := -lwums -lwut -lwups -lfunctionpatcher -lmappedmemory -lfreetype -lbz2 -lpng -lz