Website Summary Files Commits Branches @commit @diff @stats
path: root / JSImpl / solution / Makefile
diff options
context:
space:
mode:
Commitc32eda4e697803824e79878c74d541b81fbd04d8 (patch)
Author
 dtrendafilov <trendafilov.dn@gmail.com>
2018-11-15 11:35:44 +0200
Committer
 GitHub <noreply@github.com>
2018-11-15 11:35:44 +0200
Filesace7bdc0df3791b6db8878d52ba98cb368e180b8 /JSImpl/solution/Makefile
IPL-c32eda4e697803824e79878c74d541b81fbd04d8.tar
IPL-c32eda4e697803824e79878c74d541b81fbd04d8.tar.gz
IPL-c32eda4e697803824e79878c74d541b81fbd04d8.zip
Parenta7cd9d4f8d83024402bacb39786e5e1a018a0a04 (diff)
Parentd7b2e339ff06c64bcb1322eec396d4995da6b17a (diff)
Merge pull request #48 from SofiaCPP/feature/spasm_asm
Spasm tests and latest instruction set
1 files changed, 21 insertions, 15 deletions
-rw-r--r--JSImpl/solution/Makefile36
diff --git a/JSImpl/solution/Makefile b/JSImpl/solution/Makefile
index b920fc7..00cafb3 100644
--- a/JSImpl/solution/Makefile
+++ b/JSImpl/solution/Makefile
@@ -6,21 +6,13 @@ ifndef config
endif
export config
-PROJECTS := JSImpl JSLib Test gmock gtest gtest_main spasm sprt sprun
+PROJECTS := JSImpl JSLib Test gmock gtest gtest_main spasm spasm_lib sprt sprun
.PHONY: all clean help $(PROJECTS)
all: $(PROJECTS)
-JSLib:
- @echo "==== Building JSLib ($(config)) ===="
- @${MAKE} --no-print-directory -C . -f JSLib.make
-
-JSImpl: JSLib
- @echo "==== Building JSImpl ($(config)) ===="
- @${MAKE} --no-print-directory -C . -f JSImpl.make
-
-Test: sprt JSLib gtest gmock gtest_main
+Test: sprt spasm_lib JSLib gtest gmock gtest_main
@echo "==== Building Test ($(config)) ===="
@${MAKE} --no-print-directory -C ../test -f Test.make
@@ -36,11 +28,23 @@ gtest_main:
@echo "==== Building gtest_main ($(config)) ===="
@${MAKE} --no-print-directory -C ../test -f gtest_main.make
+JSLib:
+ @echo "==== Building JSLib ($(config)) ===="
+ @${MAKE} --no-print-directory -C . -f JSLib.make
+
+JSImpl: JSLib
+ @echo "==== Building JSImpl ($(config)) ===="
+ @${MAKE} --no-print-directory -C . -f JSImpl.make
+
sprt:
@echo "==== Building sprt ($(config)) ===="
@${MAKE} --no-print-directory -C ../../spasm/solution -f sprt.make
-spasm:
+spasm_lib:
+ @echo "==== Building spasm_lib ($(config)) ===="
+ @${MAKE} --no-print-directory -C ../../spasm/solution -f spasm_lib.make
+
+spasm: spasm_lib
@echo "==== Building spasm ($(config)) ===="
@${MAKE} --no-print-directory -C ../../spasm/solution -f spasm.make
@@ -49,13 +53,14 @@ sprun: sprt
@${MAKE} --no-print-directory -C ../../spasm/solution -f sprun.make
clean:
- @${MAKE} --no-print-directory -C . -f JSLib.make clean
- @${MAKE} --no-print-directory -C . -f JSImpl.make clean
@${MAKE} --no-print-directory -C ../test -f Test.make clean
@${MAKE} --no-print-directory -C ../test -f gtest.make clean
@${MAKE} --no-print-directory -C ../test -f gmock.make clean
@${MAKE} --no-print-directory -C ../test -f gtest_main.make clean
+ @${MAKE} --no-print-directory -C . -f JSLib.make clean
+ @${MAKE} --no-print-directory -C . -f JSImpl.make clean
@${MAKE} --no-print-directory -C ../../spasm/solution -f sprt.make 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
@@ -69,13 +74,14 @@ help:
@echo "TARGETS:"
@echo " all (default)"
@echo " clean"
- @echo " JSLib"
- @echo " JSImpl"
@echo " Test"
@echo " gtest"
@echo " gmock"
@echo " gtest_main"
+ @echo " JSLib"
+ @echo " JSImpl"
@echo " sprt"
+ @echo " spasm_lib"
@echo " spasm"
@echo " sprun"
@echo ""