--- ledmon-0.90/src/Makefile 2018-02-14 12:26:04.000000000 +0100 +++ ledmon-0.90-new/src/Makefile 2018-03-14 09:45:12.887450849 +0100 @@ -64,15 +64,10 @@ TEST_CONFIG_OBJECTS=\ $(OUTDIR)/list.o \ $(OUTDIR)/utils.o -CXFLAGS=-O0 -g -std=gnu99 -CWFLAGS=-Wall -CFLAGS=$(CXFLAGS) $(CWFLAGS) - DEFFLAGS=-D_DEBUG -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDMALLOC_DISABLE CPPFLAGS=$(DEFFLAGS) ALL_CPPFLAGS=$(CPPFLAGS) -I../config -LDFLAGS=$(CXFLAGS) LDLIBS=-lsgutils2 -ludev SOURCES:=$(shell find -name "*.[cC]" -print)