summaryrefslogtreecommitdiff
path: root/apps/system/usbmonitor
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-09-07 09:17:23 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-09-07 09:17:23 -0600
commit14ba1f33ae8f55a3c7f556cf28647c7116b6c3c4 (patch)
tree20444f1055f8c11f92fa29978ed0b2bd3a9559f6 /apps/system/usbmonitor
parentfb7a08922178beb0cb053a00d1377366d4279e87 (diff)
downloadnuttx-14ba1f33ae8f55a3c7f556cf28647c7116b6c3c4.tar.gz
nuttx-14ba1f33ae8f55a3c7f556cf28647c7116b6c3c4.tar.bz2
nuttx-14ba1f33ae8f55a3c7f556cf28647c7116b6c3c4.zip
Changes to many Makefiles. For kernel buil object containing main cannot go into library because of name collisions. The object file must be handled as a special case in every Makefile
Diffstat (limited to 'apps/system/usbmonitor')
-rw-r--r--apps/system/usbmonitor/Makefile30
1 files changed, 15 insertions, 15 deletions
diff --git a/apps/system/usbmonitor/Makefile b/apps/system/usbmonitor/Makefile
index 7b1d3e7ea..5afb249db 100644
--- a/apps/system/usbmonitor/Makefile
+++ b/apps/system/usbmonitor/Makefile
@@ -38,40 +38,40 @@
include $(APPDIR)/Make.defs
ifeq ($(WINTOOL),y)
-INCDIROPT = -w
+INCDIROPT = -w
endif
# USB Monitor Application
-PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 768
+PRIORITY = SCHED_PRIORITY_DEFAULT
+STACKSIZE = 768
-ASRCS =
-CSRCS = usbmonitor.c
+ASRCS =
+CSRCS = usbmonitor.c
-AOBJS = $(ASRCS:.S=$(OBJEXT))
-COBJS = $(CSRCS:.c=$(OBJEXT))
+AOBJS = $(ASRCS:.S=$(OBJEXT))
+COBJS = $(CSRCS:.c=$(OBJEXT))
-SRCS = $(ASRCS) $(CSRCS)
-OBJS = $(AOBJS) $(COBJS)
+SRCS = $(ASRCS) $(CSRCS)
+OBJS = $(AOBJS) $(COBJS)
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
- BIN = ..\..\libapps$(LIBEXT)
+ BIN = ..\..\libapps$(LIBEXT)
else
ifeq ($(WINTOOL),y)
- BIN = ..\\..\\libapps$(LIBEXT)
+ BIN = ..\\..\\libapps$(LIBEXT)
else
- BIN = ../../libapps$(LIBEXT)
+ BIN = ../../libapps$(LIBEXT)
endif
endif
-ROOTDEPPATH = --dep-path .
+ROOTDEPPATH = --dep-path .
# Common build
-VPATH =
+VPATH =
-all: .built
+all: .built
.PHONY: context depend clean distclean
$(AOBJS): %$(OBJEXT): %.S