diff --git a/usr/Makefile b/usr/Makefile index 29f091d..cad4b8b 100644 --- a/usr/Makefile +++ b/usr/Makefile @@ -52,9 +52,10 @@ endif INCLUDES += -I. +OPTFLAGS = -g -O2 -Wall -Wstrict-prototypes -fPIC CFLAGS += -D_GNU_SOURCE CFLAGS += $(INCLUDES) -CFLAGS += -g -O2 -Wall -Wstrict-prototypes -fPIC +CFLAGS += $(OPTFLAGS) CFLAGS += -DTGT_VERSION=\"$(VERSION)$(EXTRAVERSION)\" LIBS += -lpthread