diff options
Diffstat (limited to 'apps/examples/keypadtest/Makefile')
-rw-r--r-- | apps/examples/keypadtest/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/keypadtest/Makefile b/apps/examples/keypadtest/Makefile index 71616bab1..2be10a295 100644 --- a/apps/examples/keypadtest/Makefile +++ b/apps/examples/keypadtest/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 |