From 3dd482cd75e14b2b438282b686ace59d436d502c Mon Sep 17 00:00:00 2001 From: wrmr Date: Wed, 30 Oct 2024 14:18:15 -0500 Subject: initial commit --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5da7d55 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +EXE = wlb +OBJ != find -type f -name '*.c' | sed 's/\.c$$/.o/' +CFLAGS = -Wall -Wpedantic -std=c17 -Os +LDFLAGS = -s + +.PHONY: run all clean + +all: ${EXE} +run: ${EXE} + ./${EXE} +clean: + rm ${EXE} ${OBJ} + +${EXE}: ${OBJ} + ${CC} ${OBJ} -o ${EXE} ${LDFLAGS} -- cgit 1.4.1-2-gfad0