diff options
Diffstat (limited to 'apps/examples/smart_test/Makefile')
-rw-r--r-- | apps/examples/smart_test/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/examples/smart_test/Makefile b/apps/examples/smart_test/Makefile index 464492d2f..9ce38f9cb 100644 --- a/apps/examples/smart_test/Makefile +++ b/apps/examples/smart_test/Makefile @@ -86,8 +86,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) |