pomo

A simple pomodoro timer
Log | Files | Refs | README | LICENSE

commit eed97e91baa1f64580828fc38fcaf4699b514987
parent 5075fb8ad89337f29d31fceea26101da9c8c576e
Author: NunoSempere <nuno.sempere@protonmail.com>
Date:   Mon, 21 Aug 2023 11:10:22 +0200

tweak makefile a bit

Diffstat:
Mmakefile | 17+++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/makefile b/makefile @@ -1,8 +1,17 @@ -build: - gcc pomo.c -o pomo +CC=gcc +SRC=pomo.c +OUT=pomo +STYLE_BLUEPRINT=webkit +FORMATTER=clang-format -i -style=$(STYLE_BLUEPRINT) + +build: $(SRC) + $(CC) $(SRC) -o $(OUT) install: - cp ./pomo /bin/pomo + cp ./$(OUT) /bin/pomo lint: - clang-tidy pomo.c -- + clang-tidy $(SRC) -- + +format: + $(FORMATTER) $(SRC)