diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-06 13:01:44 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-06 13:01:44 -0600 |
commit | ccf351b1e299b1d6387f825bbab06d8d3cc7c80a (patch) | |
tree | 2a5e81eccb80b1be764523fad8671d754ce6f49f /apps/examples/pwm | |
parent | a70b7580eb7648e6012adc90a3f367c30dc79b98 (diff) | |
download | px4-nuttx-ccf351b1e299b1d6387f825bbab06d8d3cc7c80a.tar.gz px4-nuttx-ccf351b1e299b1d6387f825bbab06d8d3cc7c80a.tar.bz2 px4-nuttx-ccf351b1e299b1d6387f825bbab06d8d3cc7c80a.zip |
Fix all install targets
Diffstat (limited to 'apps/examples/pwm')
-rw-r--r-- | apps/examples/pwm/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/examples/pwm/Makefile b/apps/examples/pwm/Makefile index 2f4a80e09..bcc68592a 100644 --- a/apps/examples/pwm/Makefile +++ b/apps/examples/pwm/Makefile @@ -84,11 +84,11 @@ $(COBJS): %$(OBJEXT): %.c @touch .built ifeq ($(CONFIG_BUILD_KERNEL),y) -$(INSTALL_DIR)/$(PROGNAME): $(OBJS) - @echo "LD: $<" - $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $@ $(ARCHCRT0OBJ) $^ $(LDLIBS) +$(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) + @echo "LD: $(PROGNAME)" + $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $(INSTALL_DIR)$(DELIM)$(PROGNAME) $(ARCHCRT0OBJ) $(LDLIBS) -install: $(INSTALL_DIR)/$(PROGNAME) +install: $(BIN_DIR)$(DELIM)$(PROGNAME) else install: |