diff options
Diffstat (limited to 'apps/examples/udp')
-rw-r--r-- | apps/examples/udp/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/examples/udp/Makefile b/apps/examples/udp/Makefile index d40aa089c..818578b0e 100644 --- a/apps/examples/udp/Makefile +++ b/apps/examples/udp/Makefile @@ -107,8 +107,17 @@ $(HOST_BIN): $(HOST_OBJS) .built: $(TARG_BIN) $(HOST_BIN) @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 $(TARG_SRCS) |