summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2015-07-19 12:49:53 -0400
committerTavian Barnes <tavianator@tavianator.com>2015-07-19 12:49:53 -0400
commita47cee3a89da7a2cff6b615e381fd486d5d9c06e (patch)
tree6a4197830fa320eb6fcb5e091c1a2d3c9f1a54a6 /Makefile
parentdaa37ea7c6d962bf2cd11bcc48998e158fdcf9da (diff)
downloadbfs-a47cee3a89da7a2cff6b615e381fd486d5d9c06e.tar.xz
Makefile: Add a 'release' target.
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)