Fix Z16F context structure

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@556 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2008-01-13 15:31:26 +00:00
parent baa6965626
commit 2c5ef5bf85
2 changed files with 10 additions and 5 deletions

View File

@ -125,12 +125,12 @@ EXEEXT = .hex
# object files into an archive
define COMPILE
@echo "CC: $1"
@$(CC) $(CFLAGS) $1 1>/dev/null
@#echo "CC: $1"
@$(CC) $(CFLAGS) $1
endef
define ASSEMBLE
@echo "AS: $1"
@#echo "AS: $1"
@$(AS) -c $(AFLAGS) $1
endef

View File

@ -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 \