diff options
Diffstat (limited to 'apps/examples/can/Makefile')
-rw-r--r-- | apps/examples/can/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/can/Makefile b/apps/examples/can/Makefile index 59e9e4359..16431147e 100644 --- a/apps/examples/can/Makefile +++ b/apps/examples/can/Makefile @@ -48,6 +48,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 |