commit d295d2de6f1c23fc2da63688f028e445dc1449d6
parent 45b21710cecd9275479b1cefd7a9870f53a0866c
Author: Matsuda Kenji <info@mtkn.jp>
Date: Sun, 25 Jun 2023 17:50:06 +0900
delete r option from rm
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -4,14 +4,15 @@ OUT = main
INCS = -I./include
+CFLAGS = -Wall
LDFLAGS = -lglfw -lGL -lX11 -lpthread -lXrandr -lXi -ldl
all: $(SRC)
- $(CC) -o $(OUT) $(INCS) $(LDFLAGS) $(SRC)
+ $(CC) -o $(OUT) $(CFLAGS) $(INCS) $(LDFLAGS) $(SRC)
run: all
./$(OUT)
clean:
- rm -rf main
+ rm -f main