summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
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)