Most of the changes needed to support Windows native clean; distclean is has a problem

git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5367 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2012-11-17 18:54:53 +00:00
parent cc099195b8
commit d4dca58d93
142 changed files with 861 additions and 616 deletions
+7 -7
View File
@@ -33,7 +33,6 @@
#
############################################################################
-include $(TOPDIR)/.config
-include $(TOPDIR)/Make.defs
BIN = task
@@ -45,15 +44,16 @@ all: $(BIN)
$(OBJS): %.o: %.c
@echo "CC: $<"
@$(CC) -c $(CELFFLAGS) $< -o $@
$(Q) $(CC) -c $(CELFFLAGS) $< -o $@
$(BIN): $(OBJS)
@echo "LD: $<"
@$(LD) $(LDELFFLAGS) -o $@ $^
$(Q) $(LD) $(LDELFFLAGS) -o $@ $^
clean:
@rm -f $(BIN) *.o *~ .*.swp core
clean:
$(call DELFILE $(BIN))
$(call CLEAN)
install:
@mkdir -p $(ROMFS_DIR)
@install $(BIN) $(ROMFS_DIR)/$(BIN)
$(Q) mkdir -p $(ROMFS_DIR)
$(Q) install $(BIN) $(ROMFS_DIR)/$(BIN)