summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/make.mk13
1 files changed, 8 insertions, 5 deletions
diff --git a/examples/make.mk b/examples/make.mk
index 173f5598a..b29d0e4a2 100644
--- a/examples/make.mk
+++ b/examples/make.mk
@@ -66,13 +66,14 @@ CXX = $(CROSS_COMPILE)g++
OBJCOPY = $(CROSS_COMPILE)objcopy
SIZE = $(CROSS_COMPILE)size
MKDIR = mkdir
+
ifeq ($(CMDEXE),1)
-CP = copy
-RM = del
+ CP = copy
+ RM = del
else
-SED = sed
-CP = cp
-RM = rm
+ SED = sed
+ CP = cp
+ RM = rm
endif
#-------------- Source files and compiler flags --------------
@@ -81,6 +82,8 @@ endif
SRC_C += hw/bsp/board.c
SRC_C += $(subst $(TOP)/,,$(wildcard $(TOP)/$(BOARD_PATH)/*.c))
+INC += $(TOP)/$(FAMILY_PATH)
+
# Compiler Flags
CFLAGS += \
-ggdb \