Makefile
branchv_0
changeset 4 4d777d6c8024
parent 3 e238528eb19c
child 12 15d87fdd6e6c
equal deleted inserted replaced
3:e238528eb19c 4:4d777d6c8024
    11 # GNU General Public License for more details.
    11 # GNU General Public License for more details.
    12 #
    12 #
    13 # You should have received a copy of the GNU General Public License
    13 # You should have received a copy of the GNU General Public License
    14 # along with this program. If not, see <http://www.gnu.org/licenses/>.
    14 # along with this program. If not, see <http://www.gnu.org/licenses/>.
    15 
    15 
       
    16 CXXFLAGS=-fno-omit-frame-pointer -fsanitize=address -g -lpthread $$(pkg-config --libs --cflags alsa)
       
    17 
    16 all: build/djm-fix
    18 all: build/djm-fix
    17 
    19 
    18 clean:
    20 clean:
    19 	rm -rf build
    21 	rm -rf build
    20 
    22 
    23 
    25 
    24 .PHONY: all clean run
    26 .PHONY: all clean run
    25 
    27 
    26 build/djm-fix: DJMFix.cpp DJMFix.h AlsaBridge.cpp AlsaBridge.h djm-fix.cpp
    28 build/djm-fix: DJMFix.cpp DJMFix.h AlsaBridge.cpp AlsaBridge.h djm-fix.cpp
    27 	mkdir -p build
    29 	mkdir -p build
    28 	g++ -o $@ DJMFix.cpp AlsaBridge.cpp djm-fix.cpp -lpthread $$(pkg-config --libs --cflags alsa)
    30 	g++ -o $@ DJMFix.cpp AlsaBridge.cpp djm-fix.cpp $(CXXFLAGS)