diff --git a/arch/z16/src/Makefile b/arch/z16/src/Makefile index b1eee8ebea..f2bf572fcb 100644 --- a/arch/z16/src/Makefile +++ b/arch/z16/src/Makefile @@ -36,9 +36,9 @@ -include $(TOPDIR)/Make.defs -include chip/Make.defs -ARCH_SRCDIR = $(TOPDIR)/arch/$(CONFIG_ARCH)/src -ARCH_SRCDIR = $(TOPDIR)/arch/$(CONFIG_ARCH)/src -USRINCLUDES = -userinc:".;$(TOPDIR)/sched;$(ARCH_SRCDIR)/chip;$(ARCH_SRCDIR)/common" +ARCHSRCDIR = $(TOPDIR)/arch/$(CONFIG_ARCH)/src +WARCHSRCDIR = ${shell cygpath -w $(ARCHSRCDIR)} +USRINCLUDES = -usrinc:'.;$(WTOPDIR)\sched;$(WARCHSRCDIR)\chip;$(WARCHSRCDIR)\common' INCLUDES = $(ARCHSTDINCLUDES) $(USRINCLUDES) CFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHCPUFLAGS) $(INCLUDES) $(ARCHDEFINES)