summaryrefslogtreecommitdiffstats
path: root/external/gard
diff options
context:
space:
mode:
Diffstat (limited to 'external/gard')
-rw-r--r--external/gard/Makefile19
1 files changed, 2 insertions, 17 deletions
diff --git a/external/gard/Makefile b/external/gard/Makefile
index be3d1ba8..b54923d2 100644
--- a/external/gard/Makefile
+++ b/external/gard/Makefile
@@ -3,22 +3,7 @@ include rules.mk
GET_ARCH = ../../external/common/get_arch.sh
include ../../external/common/rules.mk
-all: $(EXE)
-
-.PHONY: links
-links: libflash ccan common make_version.sh
-
-libflash:
- ln -sf ../../libflash .
-
-ccan:
- ln -sf ../../ccan .
-
-common:
- ln -sf ../common .
-
-make_version.sh:
- ln -sf ../../make_version.sh
+all: links arch_links $(EXE)
#Rebuild version.o so that the the version always matches
#what the test suite will get from ./make_version.sh
@@ -26,7 +11,7 @@ check: version.o all
@ln -sf ../../test/test.sh test/test.sh
@test/test-gard
-$(OBJS): | links arch_links
+links += make_version.sh
.PHONY: VERSION-always
.version: VERSION-always
OpenPOWER on IntegriCloud