franta-hg@0: # DJM-Fix franta-hg@0: # Copyright © 2020 František Kučera (Frantovo.cz, GlobalCode.info) franta-hg@0: # franta-hg@0: # This program is free software: you can redistribute it and/or modify franta-hg@0: # it under the terms of the GNU General Public License as published by franta-hg@0: # the Free Software Foundation, version 3 of the License. franta-hg@0: # franta-hg@0: # This program is distributed in the hope that it will be useful, franta-hg@0: # but WITHOUT ANY WARRANTY; without even the implied warranty of franta-hg@0: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the franta-hg@0: # GNU General Public License for more details. franta-hg@0: # franta-hg@0: # You should have received a copy of the GNU General Public License franta-hg@0: # along with this program. If not, see . franta-hg@0: franta-hg@4: CXXFLAGS=-fno-omit-frame-pointer -fsanitize=address -g -lpthread $$(pkg-config --libs --cflags alsa) franta-hg@4: franta-hg@0: all: build/djm-fix franta-hg@0: franta-hg@0: clean: franta-hg@0: rm -rf build franta-hg@0: franta-hg@1: run: build/djm-fix franta-hg@1: build/djm-fix franta-hg@1: franta-hg@1: .PHONY: all clean run franta-hg@0: franta-hg@12: build/djm-fix: DJMFix.cpp DJMFix.h AlsaBridge.cpp AlsaBridge.h Logger.cpp Logger.h djm-fix.cpp franta-hg@0: mkdir -p build franta-hg@12: g++ -o $@ DJMFix.cpp AlsaBridge.cpp Logger.cpp djm-fix.cpp $(CXXFLAGS)