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}