mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 03:45:50 +08:00
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:
+10
-10
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user