From 3b758009c7b1e945444ca3be746d05074bac0dab Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 21 Feb 2021 10:56:51 +0100 Subject: Added debian package --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7c5b04d..8325934 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,9 @@ PORTAUDIOCFLAGS=$(shell pkg-config --cflags portaudiocpp) PORTAUDIOLIBS=$(shell pkg-config --libs portaudiocpp) -CXX=clang++-7 +CXX=clang++-11 CXXFLAGS=-stdlib=libc++ -Wall -O2 -std=c++17 -fexceptions -Iexternal #-march=native -mtune=native # is not better for llvm -CXXTESTFLAGS=-I/usr/src/googletest/googletest/include -I/usr/src/googletest/googlemock/include CC=clang CFLAGS=-Wall -O2 -Iexternal @@ -14,7 +13,7 @@ CFLAGS=-Wall -O2 -Iexternal # -march=native -mtune=native # doesn't help for gcc DESTDIR=/ -PREFIX=/usr/local/bin +PREFIX=/usr/bin all: tunerdemo testsuite @@ -52,7 +51,10 @@ test: testsuite ./testsuite install: + mkdir -p $(DESTDIR)/$(PREFIX) install tunerdemo $(DESTDIR)/$(PREFIX)/tunerdemo + mkdir -p $(DESTDIR)/usr/include + install fft.h $(DESTDIR)/usr/include/fft.h clean: rm -f tunerdemo testsuite *.o external/*.o -- cgit v1.2.3