summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2015-07-23 21:26:31 -0400
committerTavian Barnes <tavianator@tavianator.com>2015-07-23 21:26:31 -0400
commite674297be6be114a530cd06d2ca773baff1ce7cc (patch)
treea6c05b7f759c351732063624b3b84e434259e64c /Makefile
parentba034f0fd6343060eb03650504fe992843bc0261 (diff)
downloadbfs-e674297be6be114a530cd06d2ca773baff1ce7cc.tar.xz
Disable asserts in release build.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f6d6e8e..f7a70f7 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ bfs: bfs.o bftw.o color.o
clean:
$(RM) bfs *.o *.d
-release: CFLAGS := -O2 -flto -Wall
+release: CFLAGS := -O2 -flto -Wall -DNDEBUG
release: bfs
.PHONY: clean release