about summary refs log tree commit diff
path: root/other
diff options
context:
space:
mode:
Diffstat (limited to 'other')
-rw-r--r--other/Makefile3
-rw-r--r--other/pamx/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/other/Makefile b/other/Makefile
index 87f92f96..139527e3 100644
--- a/other/Makefile
+++ b/other/Makefile
@@ -9,9 +9,10 @@ include $(BUILDDIR)/Makefile.config
 
 SUBDIRS = pamx
 
+EXTERN_INCLUDES =
 ifneq ($(LINUXSVGALIB),NONE)
   ifneq ($(LINUXSVGAHDR_DIR),)
-    INCLUDES += -I$(LINUXSVGAHDR_DIR)
+    EXTERN_INCLUDES += -I$(LINUXSVGAHDR_DIR)
   endif
 endif
 
diff --git a/other/pamx/Makefile b/other/pamx/Makefile
index a86a3331..8aab2608 100644
--- a/other/pamx/Makefile
+++ b/other/pamx/Makefile
@@ -7,9 +7,10 @@ VPATH=.:$(SRCDIR)/$(SUBDIR)
 
 include $(BUILDDIR)/Makefile.config
 
+EXTERN_INCLUDE =
 ifneq ($(X11LIB),NONE)
   ifneq ($(X11HDR_DIR),)
-    INCLUDES += -I$(X11HDR_DIR)
+    EXTERN_INCLUDES += -I$(X11HDR_DIR)
   endif
 endif