author: kx <kx@radix.pro> 2023-04-06 10:27:37 +0300
committer: kx <kx@radix.pro> 2023-04-06 10:27:37 +0300
commit: cbda8cd8fcffd037f28be2d043a05bef12db485a
parent: 9bd871e51a3841a92f3dcaf25f132b1a596eb130
Commit Summary:
Diffstat:
1 file changed, 17 insertions, 0 deletions
diff --git a/tools/synopsys/Makefile b/tools/synopsys/Makefile
new file mode 100644
index 0000000..318157b
--- /dev/null
+++ b/tools/synopsys/Makefile
@@ -0,0 +1,24 @@
+
+#
+# Following command helps to cheate SUBDIRS list:
+# $ tree -fid .
+#
+
+SUBDIRS := arc-toolchain
+
+
+all-recursive downloads_clean-recursive:
+ @set fnord $(MAKEFLAGS); amf=$$2; \
+ target=`echo $@ | sed s/-recursive//`; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ local_target="$$target"; \
+ (cd $$subdir && $(MAKE) $$fnord $$local_target) \
+ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+ done; test -z "$$fail"
+
+all: all-recursive
+
+downloads_clean: downloads_clean-recursive
+
+.PHONY: all-recursive downloads_clean-recursive all downloads_clean