Website Summary Files Commits Branches @commit @diff @stats
path: root / solution / Makefile
diff options
context:
space:
mode:
1 files changed, 46 insertions, 0 deletions
-rw-r--r--solution/Makefile46
diff --git a/solution/Makefile b/solution/Makefile
new file mode 100644
index 0000000..665d251
--- /dev/null
+++ b/solution/Makefile
@@ -0,0 +1,46 @@
+# GNU Make solution makefile autogenerated by GENie
+# Type "make help" for usage help
+
+ifndef config
+ config=debug64
+endif
+export config
+
+PROJECTS := spasm sprt sprun
+
+.PHONY: all clean help $(PROJECTS)
+
+all: $(PROJECTS)
+
+sprt:
+ @echo "==== Building sprt ($(config)) ===="
+ @${MAKE} --no-print-directory -C . -f sprt.make
+
+spasm:
+ @echo "==== Building spasm ($(config)) ===="
+ @${MAKE} --no-print-directory -C . -f spasm.make
+
+sprun: sprt
+ @echo "==== Building sprun ($(config)) ===="
+ @${MAKE} --no-print-directory -C . -f sprun.make
+
+clean:
+ @${MAKE} --no-print-directory -C . -f sprt.make clean
+ @${MAKE} --no-print-directory -C . -f spasm.make clean
+ @${MAKE} --no-print-directory -C . -f sprun.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 " sprt"
+ @echo " spasm"
+ @echo " sprun"
+ @echo ""
+ @echo "For more information, see https://github.com/bkaradzic/genie"