about summary refs log tree commit diff
path: root/Makefile.common
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2006-09-16 17:01:05 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2006-09-16 17:01:05 +0000
commit9fa92debf9dbfa2e4b990260ad3e0a73f3d69ce7 (patch)
tree6a819df83af34483bfbd7783d82789323b29e63a /Makefile.common
parent5fa779a5319ab1b665197b64cc351322c01360f7 (diff)
downloadnetpbm-mirror-9fa92debf9dbfa2e4b990260ad3e0a73f3d69ce7.tar.gz
netpbm-mirror-9fa92debf9dbfa2e4b990260ad3e0a73f3d69ce7.tar.xz
netpbm-mirror-9fa92debf9dbfa2e4b990260ad3e0a73f3d69ce7.zip
Put local -I's first
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@57 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.common b/Makefile.common
index cc1f20e0..2e5d2833 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -68,7 +68,8 @@
 
 include $(SRCDIR)/Makefile.version
 
-INCLUDES2 := $(INCLUDES) -I$(SRCDIR)/$(SUBDIR) -I. -I importinc
+# -I. is needed when builddir != srcdir
+INCLUDES2 := -I. -I importinc -I$(SRCDIR)/$(SUBDIR) $(INCLUDES)
 
 ifeq ($(NETPBMLIBTYPE),unixstatic)
   NETPBMLIBFNAME = libnetpbm.$(STATICLIBSUFFIX)
@@ -194,7 +195,6 @@ config:
 $(OBJECTS): %.o: %.c importinc
 #############################################################################
 # Note that the user may have configured -I options into CFLAGS or CPPFLAGS.
-# -I. is needed when builddir != srcdir
 # Note about -o: There used to be systems that couldn't handle a space
 # between flag and value.  But we found a Solaris gcc on 2003.09.02 that
 # actually fails _without_ the space (it invokes Solaris 'as' with the