summaryrefslogtreecommitdiff
path: root/apps/system/sudoku/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/system/sudoku/Makefile')
-rw-r--r--apps/system/sudoku/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/system/sudoku/Makefile b/apps/system/sudoku/Makefile
index dad32b458..f92d845d2 100644
--- a/apps/system/sudoku/Makefile
+++ b/apps/system/sudoku/Makefile
@@ -87,8 +87,17 @@ $(COBJS): %$(OBJEXT): %.c
$(call ARCHIVE, $(BIN), $(OBJS))
$(Q) touch .built
+ifeq ($(CONFIG_BUILD_KERNEL),y)
+$(INSTALL_DIR)/$(PROGNAME): $(OBJS)
+ @echo "LD: $<"
+ $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $@ $(ARCHCRT0OBJ) $^ $(LDLIBS)
+
+install: $(INSTALL_DIR)/$(PROGNAME)
+
install:
+endif
+
# Register application
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)