diff options
Diffstat (limited to 'apps/examples/ftpc/Makefile')
-rw-r--r-- | apps/examples/ftpc/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/examples/ftpc/Makefile b/apps/examples/ftpc/Makefile index 250d20d2e..cb93f56af 100644 --- a/apps/examples/ftpc/Makefile +++ b/apps/examples/ftpc/Makefile @@ -81,8 +81,17 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @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) |