summaryrefslogtreecommitdiff
path: root/apps/examples/usbserial/Makefile.host
diff options
context:
space:
mode:
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)
+