Makefile needs CFLAGS.

This commit is contained in:
Elliot Glaysher 2019-06-24 15:58:51 -07:00
parent f1622fd3c2
commit af037c0188

View File

@ -7,7 +7,7 @@ PREFIX ?= ./out
.PHONY: all test install clean
all: ge-additions.c ge-additions.h
$(CC) -O3 -Wall -Werror -pedantic -std=gnu99 -c ge-additions.c
$(CC) $(CFLAGS) -O3 -Wall -Werror -pedantic -std=gnu99 -c ge-additions.c
$(AR) rcs libge-additions.a ge-additions.o
install: all