summaryrefslogtreecommitdiff
path: root/nuttx/configs/z80sim/src
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-01-08 17:06:21 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-01-08 17:06:21 +0000
commitaaf14056e435090f70b7e82d42874d090d1a1e35 (patch)
tree41a2ddea543958ebb2c2d0e4018edd3275b690f2 /nuttx/configs/z80sim/src
parent6be6922d92309de635a5c222d94224adab2f73e5 (diff)
downloadpx4-nuttx-aaf14056e435090f70b7e82d42874d090d1a1e35.tar.gz
px4-nuttx-aaf14056e435090f70b7e82d42874d090d1a1e35.tar.bz2
px4-nuttx-aaf14056e435090f70b7e82d42874d090d1a1e35.zip
Make logic reorganized for non-GNU toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@528 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/z80sim/src')
-rw-r--r--nuttx/configs/z80sim/src/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/nuttx/configs/z80sim/src/Makefile b/nuttx/configs/z80sim/src/Makefile
index a1b7eab04..fba996597 100644
--- a/nuttx/configs/z80sim/src/Makefile
+++ b/nuttx/configs/z80sim/src/Makefile
@@ -50,15 +50,14 @@ CFLAGS += -I $(TOPDIR)/arch/$(CONFIG_ARCH)/src
all: libboard$(LIBEXT)
$(AOBJS): %$(OBJEXT): %$(ASMEXT)
- $(CC) -c $(CFLAGS) -D__ASSEMBLY__ $< -o $@
+ $(call ASSEMBLE, $<, $@)
$(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
- $(CC) -c $(CFLAGS) $< -o $@
+ $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS)
@( for obj in $(OBJS) ; do \
- $(AR) $@ $${obj} || \
- { echo "$(AR) $@ $obj FAILED!" ; exit 1 ; } ; \
+ $(call ARCHIVE, $@, $${obj}); \
done ; )
.depend: Makefile $(SRCS)