summaryrefslogtreecommitdiff
path: root/apps/graphics/screenshot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/graphics/screenshot/Makefile')
-rw-r--r--apps/graphics/screenshot/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/graphics/screenshot/Makefile b/apps/graphics/screenshot/Makefile
index d6e4cf59a..aae1389d0 100644
--- a/apps/graphics/screenshot/Makefile
+++ b/apps/graphics/screenshot/Makefile
@@ -88,11 +88,11 @@ $(COBJS): %$(OBJEXT): %.c
$(Q) 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: