From 6f42d44586fbed3f5addfe81fa5d6b4ab40f2dbf Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 3 Dec 2019 22:38:31 +0100 Subject: T1843: add support for recursive includes An XML include file can now inlude another XML include file. This is very handy on e.g. VIF or VIF-S interfaces that also have an address node. Thus more code is reused and simplified. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 834e8dd3f..97e933694 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ obj = $(src:.xml.in=.xml) # -nostdinc Do not search the standard system directories for header files # -P Inhibit generation of linemarkers in the output from the # preprocessor - @gcc -ansi -x c -E -undef -nostdinc -P -o $(BUILD_DIR)/$@ -c $< + @$(CC) -ansi -x c -E -undef -nostdinc -P -I$(CURDIR)/interface-definitions -o $(BUILD_DIR)/$@ -c $< $(BUILD_DIR): install -d -m 0755 $(BUILD_DIR)/interface-definitions -- cgit v1.2.3