aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-02-16 22:02:15 +0100
committerNao Pross <naopross@thearcway.org>2018-02-16 22:02:15 +0100
commit83e5874adf9762508de240397f8c68503c94aca7 (patch)
tree7d5ca04eac8d50a67f80f961b83576aac913aa5d
parentAdd cpack directive and update README (diff)
downloadSubconscious-old-83e5874adf9762508de240397f8c68503c94aca7.tar.gz
Subconscious-old-83e5874adf9762508de240397f8c68503c94aca7.zip
Update Makefile to pass arguments to cmake
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7540484..88e31ec 100644
--- a/Makefile
+++ b/Makefile
@@ -6,9 +6,8 @@ java:
runjava: java
gradle run
-
cpp:
- cmake --build build
+ cmake --build build -- $(filter-out $@,$(MAKECMDGOALS))
runcpp: cpp
./build/exe/main/main