summaryrefslogtreecommitdiff
path: root/apps/examples/cc3000/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/cc3000/Makefile')
-rw-r--r--apps/examples/cc3000/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/cc3000/Makefile b/apps/examples/cc3000/Makefile
index c98f14894..b70a78566 100644
--- a/apps/examples/cc3000/Makefile
+++ b/apps/examples/cc3000/Makefile
@@ -58,6 +58,10 @@ COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS) $(MAINSRC)
OBJS = $(AOBJS) $(COBJS)
+ifneq ($(CONFIG_BUILD_KERNEL),y)
+ OBJS += $(MAINOBJ)
+endif
+
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
BIN = ..\..\libapps$(LIBEXT)
else