diff options
Diffstat (limited to 'nuttx/configs/z16f2800100zcog/src')
-rw-r--r-- | nuttx/configs/z16f2800100zcog/src/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/nuttx/configs/z16f2800100zcog/src/Makefile b/nuttx/configs/z16f2800100zcog/src/Makefile index 85997d0bd..fa8b5ac2e 100644 --- a/nuttx/configs/z16f2800100zcog/src/Makefile +++ b/nuttx/configs/z16f2800100zcog/src/Makefile @@ -52,11 +52,16 @@ OBJS = $(AOBJS) $(COBJS) all: libboard$(LIBEXT) -$(AOBJS): %$(OBJEXT): %.S +$(ASRCS) $(HEAD_ASRC): %$(ASMEXT): %.S + @$(CPP) $(CPPFLAGS) $< -o $@.tmp + @cat $@.tmp | sed -e "s/^#/;/g" > $@ + @rm $@.tmp + +$(AOBJS): %$(OBJEXT): %$(ASMEXT) $(call ASSEMBLE, $<, $@) $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c - $(call COMPILE, $<, $@) + $(call COMPILE, `cygpath -w $<`, $@) libboard$(LIBEXT): $(OBJS) @( for obj in $(OBJS) ; do \ |