* support/regression/Makefile.in:
authorborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 25 Dec 2008 21:41:01 +0000 (21:41 +0000)
committerborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 25 Dec 2008 21:41:01 +0000 (21:41 +0000)
  add -I$(INC_DIR) to SDCCFLAGS only if INC_DIR is defined

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5298 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
support/regression/Makefile.in

index ea6e7a5f8b7f67f11802d8da63ee4aff1a642a76..5cd3afa52699bca762ae08abef775ffd1b137bea 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-12-25 Borut Razem <borut.razem AT siol.net>
+
+       * support/regression/Makefile.in:
+         add -I$(INC_DIR) to SDCCFLAGS only if INC_DIR is defined
+
 2008-12-25 Philipp Klaus Krause <pkk AT spth.de>
 
        * src/z80/peeph-z80.def: minor peephole improvements
@@ -5,7 +10,7 @@
 2008-12-21 Borut Razem <borut.razem AT siol.net>
 
        * support/librarian/sdcclib.c: fixed build failure on Mac OS X
-         due to redifinition of symbol __assert
+         due to redefinition of symbol __assert
          sdcclib.c:53:1:warning: "__assert" redefined
          /Xcode2.5/SDKs/MacOSX10.4u.sdk/usr/include/assert.h:80:1:
          warning: this is the location of the previous definition
index 92cbf37a6485d699fb186ee9bf8e8daea57af252..c9cb851a144adf5f4b900beaedb3aafba64eeb8f 100644 (file)
@@ -177,9 +177,9 @@ endif
 make_library: $(MAKE_LIBRARY)
 
 SDCCFLAGS += -I$(srcdir)/fwk/include -I$(srcdir)/tests
-#ifdef INC_DIR
-SDCCFLAGS += -I$(INC_DIR)
-#endif
+ifdef INC_DIR
+  SDCCFLAGS += -I$(INC_DIR)
+endif
 
 # List of intermediate files to keep.  Pretty much keep everything as
 # disk space is free.