summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/tools/generic/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/exec/score/tools/generic/Makefile.in15
1 files changed, 9 insertions, 6 deletions
diff --git a/c/src/exec/score/tools/generic/Makefile.in b/c/src/exec/score/tools/generic/Makefile.in
index 4586a43b45..33c2fb81dd 100644
--- a/c/src/exec/score/tools/generic/Makefile.in
+++ b/c/src/exec/score/tools/generic/Makefile.in
@@ -14,20 +14,23 @@ PROJECT_ROOT = @PROJECT_ROOT@
include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
include $(RTEMS_ROOT)/make/leaf.cfg
+include $(RTEMS_ROOT)/make/rtems.cfg
DESTDIR=$(PROJECT_RELEASE)/bin
-PGMS=size_rtems
+BUILD_PGMS=size_rtems
+PGMS=$(BUILD_PGMS)
-INSTALLED=$(PGMS:%=$(DESTDIR)/%)
+CLEAN_ADDITIONS += $(BUILD_PGMS)
+
+INSTALLED_PGMS=$(PGMS:%=$(DESTDIR)/%)
all: $(DESTDIR) $(PGMS) install
$(DESTDIR):
@INSTALL@ $(INSTDIRFLAGS) $@
-install: $(INSTALLED)
-
-# Install the program
-$(DESTDIR)/%: %
+$(INSTALLED_PGMS): $(PGMS)
@INSTALL@ $(INSTBINFLAGS) $^ $@
+
+install: $(DESTDIR) $(INSTALLED_PGMS)