summaryrefslogtreecommitdiff
path: root/nuttx/libc/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-15 17:43:29 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-15 17:43:29 +0000
commitc0a6b140715e535b2589f411419561cbd0f2b30c (patch)
tree9e10798e704b0b98879109bfc8234a59bfbd2007 /nuttx/libc/Makefile
parent6a52576d5c4bc8aebed7f6ac5ab2b7d716350506 (diff)
downloadnuttx-c0a6b140715e535b2589f411419561cbd0f2b30c.tar.gz
nuttx-c0a6b140715e535b2589f411419561cbd0f2b30c.tar.bz2
nuttx-c0a6b140715e535b2589f411419561cbd0f2b30c.zip
Move some (hopefully) un-necessary quotes in Makefiles for Mike
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5356 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/libc/Makefile')
-rw-r--r--nuttx/libc/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/nuttx/libc/Makefile b/nuttx/libc/Makefile
index ac8fe4bc7..313629f2b 100644
--- a/nuttx/libc/Makefile
+++ b/nuttx/libc/Makefile
@@ -79,7 +79,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
$(BIN): $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $@, $(OBJS))
ifneq ($(BIN),$(UBIN))
.userlib:
@@ -108,16 +108,24 @@ depend: .depend
uclean:
ifneq ($(OBJEXT),)
+ifeq ($(CONFIG_WINDOWS_NATIVE),y)
+ $(Q) if exist .userlib ]; then del *$(OBJEXT)
+else
$(Q) ( if [ -f .userlib ]; then rm -f *$(OBJEXT); fi )
endif
+endif
$(Q) rm -f .userlib *~ .*.swp
# Clean kernel-mode temporary files (retaining the KBIN binary)
kclean:
ifneq ($(OBJEXT),)
+ifeq ($(CONFIG_WINDOWS_NATIVE),y)
+ $(Q) if exist .kernlib ]; then del *$(OBJEXT)
+else
$(Q) ( if [ -f .kernlib ]; then rm -f *$(OBJEXT); fi )
endif
+endif
$(Q) rm -f .kernlib *~ .*.swp
# Really clean everything