From 340d7fded5140fb44ba5054f7e66e5108c0c3ee3 Mon Sep 17 00:00:00 2001 From: Sander in 't Veld Date: Wed, 25 Nov 2020 17:26:10 +0100 Subject: [PATCH] Added IFLAGS_CONFIG to the IFLAGS used for C files and libs. (#2) --- Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 658875e..e4bf20d 100644 --- a/Makefile +++ b/Makefile @@ -308,7 +308,7 @@ IFLAGS_CONFIG ?= # IFLAGS_FULL = $(IFLAGS_ROOT) $(IFLAGS_CORE) $(IFLAGS_CONFIG) $(IFLAGS_LIB) -IFLAGS = $(IFLAGS_ROOT) $(IFLAGS_LIB) +IFLAGS = $(IFLAGS_ROOT) $(IFLAGS_CONFIG) $(IFLAGS_LIB) ifeq ($(detected_OS),Windows) IFLAGS_ROOT = -I . @@ -649,10 +649,8 @@ printsizes = CPP CMON_PIC LGIC_PIC JSON_PIC LAST steamlocalizer = CPP CORE AINT INTL LAST termlocalizer = CPP CORE INTL LAST libepicinium = CPP CMON_LIC LGIC_LIC JSON_PIC AINT_LIC LAST -libquickquack = CMON_PIC LGIC_PIC JSON_PIC AINT_PIC -libhungryhippo = CMON_PIC LGIC_PIC JSON_PIC AINT_PIC -libchargingcheetah = CMON_PIC LGIC_PIC JSON_PIC AINT_PIC -librampantrhino = CMON_PIC LGIC_PIC JSON_PIC AINT_PIC +$(foreach tool,$(TAILNAMES),\ + $(eval $(tool) = CMON_PIC LGIC_PIC JSON_PIC AINT_PIC)) quicktest = $(foreach name,$(NAMES),\