diff options
| author | cashmere <cashmere@autistici.org> | 2026-06-22 16:34:20 +0200 |
|---|---|---|
| committer | cashmere <cashmere@autistici.org> | 2026-06-22 16:34:20 +0200 |
| commit | 21c0d67dc62c05e3e1589b4d29d659768804e458 (patch) | |
| tree | 7a0177fc4fbdff80e15457a65697d335a619ad6b /justfile | |
| parent | 4e6c61b86552b8c4304561e745b3866b4883096e (diff) | |
| download | telnet-21c0d67dc62c05e3e1589b4d29d659768804e458.tar.gz | |
add justfile
Diffstat (limited to 'justfile')
| -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 |
