task

creates a plain-text task file in the current directory
git clone git://brookjeynes.dev/bjeynes/task.git
Log | Files | Refs | README | LICENSE

commit 9cbc8b6361d405aebca8c8f9f50dd02d95500c73
parent 03ca0e101d942492f26590891e04f5e81f78f82e
Author: brookjeynes <me@brookjeynes.dev>
Date:   Thu, 11 Jun 2026 14:14:20 +1000

fix: improve build target

Diffstat:
MMakefile | 12++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,4 +1,12 @@ -.PHONY: build +.PHONY: build clean + +CC := gcc +CFLAGS := -Wall -Wextra -Wpedantic -std=c11 +BUILD_DIR := build build: - gcc -o ./build/task main.c + mkdir -p ./$(BUILD_DIR) + $(CC) $(CFLAGS) -o ./$(BUILD_DIR)/task main.c + +clean: + rm -rf ./$(BUILD_DIR)