Website Summary Files Commits Branches @commit @diff @stats
path: root / JSImpl / solution / Makefile
diff options
context:
space:
mode:
Commit22b321bb4497543493010f57587c7a9dceb839b6 (patch)
Author
 dtrendafilov <trendafilov.dn@gmail.com>
2021-09-21 22:48:52 +0300
Committer
 GitHub <noreply@github.com>
2021-09-21 22:48:52 +0300
Files672d53f7d257df54d2222252bd2441f12b3be950 /JSImpl/solution/Makefile
IPL-22b321bb4497543493010f57587c7a9dceb839b6.tar
IPL-22b321bb4497543493010f57587c7a9dceb839b6.tar.gz
IPL-22b321bb4497543493010f57587c7a9dceb839b6.zip
Parentf110794b0d57e47e335ae5eeffbb18a7a80580ad (diff)
Parent2f9dea35cff40a676b4603b8ffbd1f2669a4195a (diff)
Merge pull request #115 from SofiaCPP/feature/gctest
Add app to test GC implementations
1 files changed, 19 insertions, 1 deletions
-rw-r--r--JSImpl/solution/Makefile20
diff --git a/JSImpl/solution/Makefile b/JSImpl/solution/Makefile
index 45157d1..78a826a 100644
--- a/JSImpl/solution/Makefile
+++ b/JSImpl/solution/Makefile
@@ -6,7 +6,7 @@ ifndef config
endif
export config
-PROJECTS := JSImpl JSLib Test gmock gtest gtest_main spasm spasm_lib sprt sprun
+PROJECTS := JSImpl JSLib Test dummy_gc gmock gtest gtest_main leak_gc spasm spasm_lib sprt sprun test_bench
.PHONY: all clean help $(PROJECTS)
@@ -52,6 +52,18 @@ sprun: sprt
@echo "==== Building sprun ($(config)) ===="
@${MAKE} --no-print-directory -C ../../spasm/solution -f sprun.make
+test_bench:
+ @echo "==== Building test_bench ($(config)) ===="
+ @${MAKE} --no-print-directory -C ../../gctest/solution -f test_bench.make
+
+leak_gc: test_bench
+ @echo "==== Building leak_gc ($(config)) ===="
+ @${MAKE} --no-print-directory -C ../../gctest/solution -f leak_gc.make
+
+dummy_gc: test_bench
+ @echo "==== Building dummy_gc ($(config)) ===="
+ @${MAKE} --no-print-directory -C ../../gctest/solution -f dummy_gc.make
+
clean:
@${MAKE} --no-print-directory -C ../test -f Test.make clean
@${MAKE} --no-print-directory -C ../test -f gtest.make clean
@@ -63,6 +75,9 @@ clean:
@${MAKE} --no-print-directory -C ../../spasm/solution -f spasm_lib.make clean
@${MAKE} --no-print-directory -C ../../spasm/solution -f spasm.make clean
@${MAKE} --no-print-directory -C ../../spasm/solution -f sprun.make clean
+ @${MAKE} --no-print-directory -C ../../gctest/solution -f test_bench.make clean
+ @${MAKE} --no-print-directory -C ../../gctest/solution -f leak_gc.make clean
+ @${MAKE} --no-print-directory -C ../../gctest/solution -f dummy_gc.make clean
help:
@echo "Usage: make [config=name] [target]"
@@ -86,5 +101,8 @@ help:
@echo " spasm_lib"
@echo " spasm"
@echo " sprun"
+ @echo " test_bench"
+ @echo " leak_gc"
+ @echo " dummy_gc"
@echo ""
@echo "For more information, see https://github.com/bkaradzic/genie"