# HG changeset patch # User Matti Hamalainen # Date 1456998323 -7200 # Node ID 28d66757a87a6c48b3b8e536a6530fe71363283e # Parent 4e7e0a74e73eb5957756155029dd21caf1a45a9e Move the debug/test defines to main Makefile.gen diff -r 4e7e0a74e73e -r 28d66757a87a Makefile --- a/Makefile Tue Mar 01 17:22:33 2016 +0200 +++ b/Makefile Thu Mar 03 11:45:23 2016 +0200 @@ -9,7 +9,7 @@ RANLIB ?= ranlib INSTALL ?= install -CFLAGS += -DHAVE_STRING_H -DHAVE_STDINT_H -DHAVE_CONFIG_H=1 -I. -DTH_USE_INTERNAL_SPRINTF=1 +CFLAGS += -DHAVE_STRING_H -DHAVE_STDINT_H -DHAVE_CONFIG_H=1 LDFLAGS += #CFLAGS += -DHAVE_STDINT_H diff -r 4e7e0a74e73e -r 28d66757a87a Makefile.gen --- a/Makefile.gen Tue Mar 01 17:22:33 2016 +0200 +++ b/Makefile.gen Thu Mar 03 11:45:23 2016 +0200 @@ -1,6 +1,6 @@ CFLAGS += -g -W -Wall -Wextra CFLAGS += -O2 -CFLAGS += -std=c11 -pedantic -D_XOPEN_SOURCE=500 +CFLAGS += -I./ -std=c11 -pedantic -D_XOPEN_SOURCE=500 -DTH_USE_INTERNAL_SPRINTF=1 -DTH_PRINTF_DEBUG=1 THLIBS=./ MKDIR ?= mkdir