diff options
Diffstat (limited to 'apps/examples/discover')
-rw-r--r-- | apps/examples/discover/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/discover/Makefile b/apps/examples/discover/Makefile index 8d355e6cf..fdc16793d 100644 --- a/apps/examples/discover/Makefile +++ b/apps/examples/discover/Makefile @@ -55,6 +55,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 |