Working toward successful link using aslink

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@21 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2007-02-27 23:59:20 +00:00
parent a60059d9d0
commit bb072cb0d2
10 changed files with 109 additions and 83 deletions
+5 -5
View File
@@ -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