diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-02-27 23:59:20 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-02-27 23:59:20 +0000 |
commit | 0408272aba8c7c48c682844b9079b558c008aedd (patch) | |
tree | e57d96602e7bea5bf57ccd7655eb14d6aaaa271e /nuttx/drivers | |
parent | 148cde5e982950ad5836fa96baa466de842e1c14 (diff) | |
download | px4-nuttx-0408272aba8c7c48c682844b9079b558c008aedd.tar.gz px4-nuttx-0408272aba8c7c48c682844b9079b558c008aedd.tar.bz2 px4-nuttx-0408272aba8c7c48c682844b9079b558c008aedd.zip |
Working toward successful link using aslink
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@21 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers')
-rw-r--r-- | nuttx/drivers/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/drivers/Makefile b/nuttx/drivers/Makefile index 711b0ca33..dc07fcdc7 100644 --- a/nuttx/drivers/Makefile +++ b/nuttx/drivers/Makefile @@ -38,10 +38,10 @@ MKDEP = $(TOPDIR)/tools/mkdeps.sh ASRCS = -AOBJS = $(ASRCS:.S=.o) +AOBJS = $(ASRCS:.S=$(OBJEXT)) CSRCS = dev_null.c -COBJS = $(CSRCS:.c=.o) +COBJS = $(CSRCS:.c=$(OBJEXT)) SRCS = $(ASRCS) $(CSRCS) OBJS = $(AOBJS) $(COBJS) @@ -50,10 +50,10 @@ BIN = libdrivers$(LIBEXT) all: $(BIN) -$(AOBJS): %.o: %.S +$(AOBJS): %$(OBJEXT): %.S $(CC) -c $(CFLAGS) -D__ASSEMBLY__ $< -o $@ -$(cOBJS): %.o: %.c +$(cOBJS): %$(OBJEXT): %.c $(CC) -c $(CFLAGS) $< -o $@ $(BIN): $(OBJS) @@ -69,7 +69,7 @@ $(BIN): $(OBJS) depend: .depend clean: - rm -f $(BIN) *.o *.asm *.lst *.sym *.adb *~ + rm -f $(BIN) *.o *.rel *.asm *.lst *.sym *.adb *~ distclean: clean rm -f Make.dep .depend |