From 7bd71541d76cd5f23b91981f6d0a19d490926356 Mon Sep 17 00:00:00 2001 From: toni Date: Mon, 16 Nov 2015 20:05:42 +0100 Subject: Makefile.debug is now DEBUG Makefile only! --- Makefile.debug | 7 +++---- 1 file 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 -- cgit v1.2.3