From: TheodorSmall Date: Sat, 28 May 2022 11:23:21 +0000 (+0100) Subject: Move compiler flags into CFLAGS variable X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=c120df15e8a977831e22196ab5b842e20e9fa1f7;p=center.git Move compiler flags into CFLAGS variable --- diff --git a/Makefile b/Makefile index fba43e7..fffa57e 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,8 @@ PREFIX=/usr/local +CFLAGS=-Wall -Wextra center: center.c - $(CC) center.c -o center -Wall -Wextra + $(CC) center.c -o center $(CFLAGS) install: center mkdir -p $(PREFIX)/bin