summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authoruser <user@localhost.localdomain>2019-08-09 07:55:20 -0400
committeruser <user@localhost.localdomain>2019-08-09 07:55:20 -0400
commit8420a40b3779a372e9c357afdadad9c01077a937 (patch)
treee4a18d1b6fb0b20973d4ea9d61441d70e1846988 /makefile
parentf7450afeda6758ae1cba8dacb5c880665bc0175f (diff)
downloadstandingwithresilience-8420a40b3779a372e9c357afdadad9c01077a937.tar.gz
standingwithresilience-8420a40b3779a372e9c357afdadad9c01077a937.zip
mark 1; feel free to redo history
Diffstat (limited to 'makefile')
-rw-r--r--makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..57971ec
--- /dev/null
+++ b/makefile
@@ -0,0 +1,8 @@
+default: 1.run
+
+%.run: %.out
+ git add *.cpp
+ ./$^
+
+%.out: %.cpp
+ g++ -ggdb -std=c++11 -o $@ $<