Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
2 files changed, 12 insertions, 0 deletions
-rw-r--r--Makefile7
-rw-r--r--src/main.cpp5
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..259379a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,7 @@
+build:
+ g++ -g src/*.cpp
+
+exec:
+ ./a.out
+
+run: build exec
diff --git a/src/main.cpp b/src/main.cpp
new file mode 100644
index 0000000..15d32bd
--- /dev/null
+++ b/src/main.cpp
@@ -0,0 +1,5 @@
+#include <iostream>
+
+int main() {
+ std::cout << "Hello" << std::endl;
+}