Completes removal bash ARCHIVE loop; Adds basic Makefile for native windows build

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5338 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2012-11-11 18:36:28 +00:00
parent 3d2879fc4e
commit a1cf659333
34 changed files with 1816 additions and 189 deletions
+10 -10
View File
@@ -78,32 +78,32 @@ $(BIN2): $(STUB_OBJS)
$(call ARCHIVE, $@, "$(STUB_OBJS)")
.depend: Makefile $(SRCS)
@$(MKDEP) $(ROOTDEPPATH) $(PROXYDEPPATH) $(STUBDEPPATH) \
$(Q) $(MKDEP) $(ROOTDEPPATH) $(PROXYDEPPATH) $(STUBDEPPATH) \
$(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
$(Q) touch $@
depend: .depend
$(MKSYSCALL):
@$(MAKE) -C $(TOPDIR)/tools -f Makefile.host mksyscall
$(Q) $(MAKE) -C $(TOPDIR)/tools -f Makefile.host mksyscall
.context: syscall.csv
@(cd proxies; $(MKSYSCALL) -p $(CSVFILE);)
@(cd stubs; $(MKSYSCALL) -s $(CSVFILE);)
@touch $@
$(Q) (cd proxies; $(MKSYSCALL) -p $(CSVFILE);)
$(Q) (cd stubs; $(MKSYSCALL) -s $(CSVFILE);)
$(Q) touch $@
context: $(MKSYSCALL) .context
clean:
@rm -f $(BIN1) $(BIN2) *~ .*.swp
$(Q) rm -f $(BIN1) $(BIN2) *~ .*.swp
ifneq ($(OBJEXT),)
@rm -f proxies/*$(OBJEXT) stubs/*$(OBJEXT)
$(Q) rm -f proxies/*$(OBJEXT) stubs/*$(OBJEXT)
endif
$(call CLEAN)
distclean: clean
@rm -f Make.dep .depend .context
@rm -f proxies/*.c stubs/*.c
$(Q) rm -f Make.dep .depend .context
$(Q) rm -f proxies/*.c stubs/*.c
-include Make.dep