aboutsummaryrefslogtreecommitdiff
path: root/Makefile.debug
diff options
context:
space:
mode:
authortoni <toni@devlap.local>2015-11-16 20:05:42 +0100
committertoni <toni@devlap.local>2015-11-16 20:05:42 +0100
commit7bd71541d76cd5f23b91981f6d0a19d490926356 (patch)
tree89b0b1638c91ad6c74025661d86a283f40f15779 /Makefile.debug
parent7f30e0e93cf4ec24db8dd0e04adb8007bd7cffc3 (diff)
Makefile.debug is now DEBUG Makefile only!
Diffstat (limited to 'Makefile.debug')
-rw-r--r--Makefile.debug7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile.debug b/Makefile.debug
index 9efaec9..66bf8e0 100644
--- a/Makefile.debug
+++ b/Makefile.debug
@@ -1,5 +1,4 @@
-CFLAGS = $(shell ncurses5-config --cflags) -Wall -Wundef -Wshadow -D_GNU_SOURCE=1 -fPIC -fomit-frame-pointer -fno-inline -fstrength-reduce -frerun-cse-after-loop -frerun-loop-opt -fexpensive-optimizations -fstrict-aliasing -Os -MD -MP
-DBGFLAGS = -g
+CFLAGS = $(shell ncurses5-config --cflags) -Wall -Wundef -Wshadow -D_GNU_SOURCE=1 -fPIC -fomit-frame-pointer -fno-inline -fstrength-reduce -frerun-cse-after-loop -frerun-loop-opt -fexpensive-optimizations -fstrict-aliasing -Os -MD -MP -g
LDFLAGS = $(shell ncurses5-config --libs) -pthread -lrt
CC = gcc
INSTALL = install
@@ -25,8 +24,8 @@ strip: $(OBJECTS) $(BIN)
release: all strip
debug:
- @$(MAKE) CFLAGS='$(CFLAGS) $(DBGFLAGS)'
- @$(MAKE) -C tests CFLAGS='$(CFLAGS) $(DBGFLAGS)'
+ @$(MAKE) CFLAGS='$(CFLAGS)
+ @$(MAKE) -C tests CFLAGS='$(CFLAGS)
install:
$(INSTALL) -D -m 0755 $(BIN) $(DESTDIR)/lib/cryptsetup/naskpass