Makefile
branchv_0
changeset 4 4d777d6c8024
parent 3 e238528eb19c
child 12 15d87fdd6e6c
--- a/Makefile	Fri Dec 18 23:28:16 2020 +0100
+++ b/Makefile	Fri Dec 18 23:58:03 2020 +0100
@@ -13,6 +13,8 @@
 # You should have received a copy of the GNU General Public License
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
 
+CXXFLAGS=-fno-omit-frame-pointer -fsanitize=address -g -lpthread $$(pkg-config --libs --cflags alsa)
+
 all: build/djm-fix
 
 clean:
@@ -25,4 +27,4 @@
 
 build/djm-fix: DJMFix.cpp DJMFix.h AlsaBridge.cpp AlsaBridge.h djm-fix.cpp
 	mkdir -p build
-	g++ -o $@ DJMFix.cpp AlsaBridge.cpp djm-fix.cpp -lpthread $$(pkg-config --libs --cflags alsa)
+	g++ -o $@ DJMFix.cpp AlsaBridge.cpp djm-fix.cpp $(CXXFLAGS)