From a47cee3a89da7a2cff6b615e381fd486d5d9c06e Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 19 Jul 2015 12:49:53 -0400 Subject: Makefile: Add a 'release' target. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3048646..f6d6e8e 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,9 @@ bfs: bfs.o bftw.o color.o clean: $(RM) bfs *.o *.d -.PHONY: clean +release: CFLAGS := -O2 -flto -Wall +release: bfs + +.PHONY: clean release -include $(wildcard *.d) -- cgit v1.2.3