summaryrefslogtreecommitdiff
path: root/apps/examples/usbserial/Makefile.host
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-20 22:07:56 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-20 22:07:56 +0000
commit60051cba0cf424e01ef2eda09816ee8945867b6d (patch)
tree506ffc7c368b1b0756a12099b0f2401e56ea4496 /apps/examples/usbserial/Makefile.host
parentf6f8f750c7a25d123dc6f20902b38bcda1c95963 (diff)
downloadnuttx-60051cba0cf424e01ef2eda09816ee8945867b6d.tar.gz
nuttx-60051cba0cf424e01ef2eda09816ee8945867b6d.tar.bz2
nuttx-60051cba0cf424e01ef2eda09816ee8945867b6d.zip
More build fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3407 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/usbserial/Makefile.host')
-rw-r--r--apps/examples/usbserial/Makefile.host7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/examples/usbserial/Makefile.host b/apps/examples/usbserial/Makefile.host
index 8c8884b42..cd9319ab3 100644
--- a/apps/examples/usbserial/Makefile.host
+++ b/apps/examples/usbserial/Makefile.host
@@ -39,7 +39,7 @@
-include $(TOPDIR)/Make.defs
SRC = host.c
-BIN = host
+BIN = host$(EXEEXT)
DEFINES =
ifeq ($(CONFIG_EXAMPLES_USBSERIAL_INONLY),y)
@@ -55,12 +55,13 @@ ifeq ($(CONFIG_EXAMPLES_USBSERIAL_ONLYBIG),y)
DEFINES += -DCONFIG_EXAMPLES_USBSERIAL_ONLYBIG=1
endif
-all: $(BIN)$(EXEEXT)
+all: $(BIN)
-$(BIN)$(EXEEXT): $(SRC)
+$(BIN): $(SRC)
@$(HOSTCC) $(HOSTCFLAGS) $(DEFINES) $^ -o $@
clean:
@rm -f $(BIN) *~ .*.swp *.o
$(call CLEAN)
+