* support/regression/Makefile.in,
[fw/sdcc] / support / regression / ports / hc08 / spec.mk
index 0db5e33089728b4abaded6bd768f62706c154339..b8efb4b4b55f4b148ccb57e17787592558537afb 100644 (file)
@@ -14,11 +14,11 @@ else
 
   AS_HC08 = $(top_builddir)/bin/as-hc08
 
-  SDCCFLAGS += --nostdinc
-  LINKFLAGS += --nostdlib -L $(top_builddir)/device/lib/build/hc08
+  SDCCFLAGS += --nostdinc -I$(top_srcdir)
+  LINKFLAGS += --nostdlib -L$(top_builddir)/device/lib/build/hc08
 endif
 
-SDCCFLAGS +=-mhc08 --less-pedantic --out-fmt-ihx -DREENTRANT=reentrant -I$(top_srcdir)
+SDCCFLAGS +=-mhc08 --less-pedantic --out-fmt-ihx -DREENTRANT=reentrant
 LINKFLAGS += hc08.lib
 
 OBJEXT = .rel