summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxtests.am
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxtests.am')
-rw-r--r--testsuites/psxtests/psxtests.am20
1 files changed, 8 insertions, 12 deletions
diff --git a/testsuites/psxtests/psxtests.am b/testsuites/psxtests/psxtests.am
index 37abe888b6..d5b3357e33 100644
--- a/testsuites/psxtests/psxtests.am
+++ b/testsuites/psxtests/psxtests.am
@@ -2,24 +2,20 @@
project_bspdir=$(PROJECT_ROOT)/@RTEMS_BSP@
-$(project_bspdir)/tests:
- @$(mkdir_p) $@
+$(project_bspdir)/tests/$(dirstamp):
+ @$(mkdir_p) $(project_bspdir)/tests
+ @: > $(project_bspdir)/tests/$(dirstamp)
-$(project_bspdir)/tests/$(TEST)$(LIB_VARIANT).exe: $(PGM)
+$(project_bspdir)/tests/$(TEST)$(LIB_VARIANT).exe: $(PGM) $(project_bspdir)/tests/$(dirstamp)
$(INSTALL_PROGRAM) $< $@
-$(project_bspdir)/tests/screens:
- @$(mkdir_p) $@
+$(project_bspdir)/tests/screens/psxtests/$(dirstamp):
+ @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests
+ @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp)
-$(project_bspdir)/tests/screens/psxtests:
- @$(mkdir_p) $@
-
-$(project_bspdir)/tests/screens/psxtests/$(TEST).scn: $(TEST).scn
+$(project_bspdir)/tests/screens/psxtests/$(TEST).scn: $(TEST).scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp)
$(INSTALL_DATA) $< $@
TMPINSTALL_FILES = \
-$(project_bspdir)/tests \
$(project_bspdir)/tests/$(TEST)$(LIB_VARIANT).exe \
-$(project_bspdir)/tests/screens \
-$(project_bspdir)/tests/screens/psxtests \
$(project_bspdir)/tests/screens/psxtests/$(TEST).scn