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/fs | |
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/fs')
-rw-r--r-- | nuttx/fs/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/fs/Makefile b/nuttx/fs/Makefile index 6cce1face..647739e32 100644 --- a/nuttx/fs/Makefile +++ b/nuttx/fs/Makefile @@ -38,11 +38,11 @@ MKDEP = $(TOPDIR)/tools/mkdeps.sh ASRCS = -AOBJS = $(ASRCS:.S=.o) +AOBJS = $(ASRCS:.S=$(OBJEXT)) CSRCS = fs_open.c fs_close.c fs_read.c fs_write.c fs_ioctl.c fs_dup.c \ fs_files.c fs_inode.c -COBJS = $(CSRCS:.c=.o) +COBJS = $(CSRCS:.c=$(OBJEXT)) SRCS = $(ASRCS) $(CSRCS) OBJS = $(AOBJS) $(COBJS) @@ -51,10 +51,10 @@ BIN = libfs$(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) @@ -70,7 +70,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 |