diff options
| -rw-r--r-- | justfile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/justfile b/justfile new file mode 100644 index 0000000..8b260d0 --- /dev/null +++ b/justfile @@ -0,0 +1,15 @@ +cc := "gcc" +cflags := "-Wall -Wextra -O2" +src := "src/main.c" +bin := "src/main" + +default: run + +build: + {{cc}} {{cflags}} {{src}} -o {{bin}} + +run: build + ./{{bin}} + +clean: + rm -f {{bin}} src/*.o |
