diff options
Diffstat (limited to 'apps/examples/nxconsole/Makefile')
-rw-r--r-- | apps/examples/nxconsole/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/examples/nxconsole/Makefile b/apps/examples/nxconsole/Makefile index c78c7b48a..18256d591 100644 --- a/apps/examples/nxconsole/Makefile +++ b/apps/examples/nxconsole/Makefile @@ -77,8 +77,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 + context: .depend: Makefile $(SRCS) |