summaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorTom Li Dobnik <tomlidobnik1@gmail.com>2026-03-30 11:15:21 +0200
committerTom Li Dobnik <tomlidobnik1@gmail.com>2026-03-30 11:15:21 +0200
commit06b004fcfefbba9bafd30752be1dfc0a01a8cea4 (patch)
treeb4b9bdf7d2eb68af13528a64d66037335a7f797b /justfile
Diffstat (limited to 'justfile')
-rw-r--r--justfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/justfile b/justfile
new file mode 100644
index 0000000..30a111f
--- /dev/null
+++ b/justfile
@@ -0,0 +1,10 @@
+build:
+ mkdir -p build
+ g++ main.cpp -O3 -o ./build/a.out
+
+clean:
+ rm -rf build
+
+run:
+ just build
+ ./build/a.out