Website Summary Files Commits Branches @commit @diff @stats
path: root / JSImpl / solution / Makefile
diff options
context:
space:
mode:
1 files changed, 64 insertions, 0 deletions
-rw-r--r--JSImpl/solution/Makefile64
diff --git a/JSImpl/solution/Makefile b/JSImpl/solution/Makefile
new file mode 100644
index 0000000..360d5a1
--- /dev/null
+++ b/JSImpl/solution/Makefile
@@ -0,0 +1,64 @@
+# GNU Make solution makefile autogenerated by GENie
+# Type "make help" for usage help
+
+ifndef config
+ config=debug64
+endif
+export config
+
+PROJECTS := JSImpl JSLib Test gmock gtest gtest_main
+
+.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: JSLib gtest gmock gtest_main
+ @echo "==== Building Test ($(config)) ===="
+ @${MAKE} --no-print-directory -C ../test -f Test.make
+
+gtest:
+ @echo "==== Building gtest ($(config)) ===="
+ @${MAKE} --no-print-directory -C ../test -f gtest.make
+
+gmock:
+ @echo "==== Building gmock ($(config)) ===="
+ @${MAKE} --no-print-directory -C ../test -f gmock.make
+
+gtest_main:
+ @echo "==== Building gtest_main ($(config)) ===="
+ @${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 ../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
+
+help:
+ @echo "Usage: make [config=name] [target]"
+ @echo ""
+ @echo "CONFIGURATIONS:"
+ @echo " debug64"
+ @echo " release64"
+ @echo ""
+ @echo "TARGETS:"
+ @echo " all (default)"
+ @echo " clean"
+ @echo " JSLib"
+ @echo " JSImpl"
+ @echo " Test"
+ @echo " gtest"
+ @echo " gmock"
+ @echo " gtest_main"
+ @echo ""
+ @echo "For more information, see https://github.com/bkaradzic/genie"