commit c1241d0e22ebe03d877295870909d5515269e3ad
parent d129bc11da6456e7dc52eb6464d3e0e56f1b7309
Author: aabacchus <ben@bvnf.space>
Date: Tue, 14 Sep 2021 19:27:48 +0100
Makefile: respect $CFLAGS
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/Makefile b/src/Makefile
@@ -2,10 +2,11 @@
CC = cc
PREFIX = /usr/local
+XCFLAGS = $(CFLAGS) -Wall
compile:
mkdir -p bin
- $(CC) -c *.c nouserland/*.c
+ $(CC) $(XCFLAGS) -c *.c nouserland/*.c
$(CC) -o bin/cat cat.o
$(CC) -o bin/chmod chmod.o
$(CC) -o bin/chown chown.o