aboutsummaryrefslogtreecommitdiff
path: root/apps/namedapp
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-11 23:44:31 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-11 23:44:31 +0000
commit63e8e1bed383170be61d722348be7efcf1a33ec3 (patch)
tree121d4fdf55df9d292c0d1d3971b2c5252cf39eaa /apps/namedapp
parenta42dcee79d5090c8df3a3a04cd1cf2b6d0347575 (diff)
downloadpx4-firmware-63e8e1bed383170be61d722348be7efcf1a33ec3.tar.gz
px4-firmware-63e8e1bed383170be61d722348be7efcf1a33ec3.tar.bz2
px4-firmware-63e8e1bed383170be61d722348be7efcf1a33ec3.zip
Correct some issues with last check-in; ez80 still does not build
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5339 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/namedapp')
-rw-r--r--apps/namedapp/Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/apps/namedapp/Makefile b/apps/namedapp/Makefile
index 29ae343fb..ce16376ae 100644
--- a/apps/namedapp/Makefile
+++ b/apps/namedapp/Makefile
@@ -55,9 +55,9 @@ SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS)
ifeq ($(WINTOOL),y)
- BIN = "${shell cygpath -w $(APPDIR)/libapps$(LIBEXT)}"
+ BIN = ..\\libapps$(LIBEXT)
else
- BIN = "$(APPDIR)/libapps$(LIBEXT)"
+ BIN = ../libapps$(LIBEXT)
endif
ROOTDEPPATH = --dep-path .
@@ -75,30 +75,30 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
- @touch .built
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
+ $(Q) touch .built
.context:
@echo "/* List of application requirements, generated during make context. */" > namedapp_list.h
@echo "/* List of application entry points, generated during make context. */" > namedapp_proto.h
- @touch $@
+ $(Q) touch $@
context: .context
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
- @touch $@
+ $(Q) $(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
+ $(Q) touch $@
depend: .depend
clean:
- @rm -f *.o *~ .*.swp .built
+ $(Q) rm -f *.o *~ .*.swp .built
$(call CLEAN)
distclean: clean
- @rm -f .context Make.dep .depend
- @rm -f namedapp_list.h
- @rm -f namedapp_proto.h
+ $(Q) rm -f .context Make.dep .depend
+ $(Q) rm -f namedapp_list.h
+ $(Q) rm -f namedapp_proto.h
-include Make.dep