diff options
| author | iamcheeseman <[hidden email]> | 2026-02-28 17:59:15 -0500 |
|---|---|---|
| committer | iamcheeseman <[hidden email]> | 2026-02-28 17:59:15 -0500 |
| commit | 62569083ce2422a0554d514a0a4dee5c85b89d4e (patch) | |
| tree | 6e863468ab38b89b938697d614ba73acf022d162 /Makefile | |
init
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..79a4243 --- /dev/null +++ b/Makefile @@ -0,0 +1,25 @@ +CC=cc +CFLAGS+=-std=c99 -pedantic -Wall -Wextra -O2 +LDFLAGS+=-lX11 -lxcb + +TSAR_OUT=tsarbar + +HEADERS= +SRC=src/tsar.c + +.PHONY: default run clean + +default: $(TSAR_OUT) + +# Project should be small enough that we should be able to ignore incremental +# compilation +$(TSAR_OUT): $(SRC) + $(CC) $(SRC) -o $(TSAR_OUT) $(CFLAGS) $(LDFLAGS) + +%.c: + +run: $(TSAR_OUT) + ./$(TSAR_OUT) + +clean: + rm $(TSAR_OUT) |
