summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2021-02-21 10:56:51 +0100
committerRoland Reichwein <mail@reichwein.it>2021-02-21 10:56:51 +0100
commit3b758009c7b1e945444ca3be746d05074bac0dab (patch)
treec89664e877fe695975336a53fc1c452f060d3d13 /Makefile
parent2b31c2bfa8b833b0837207b21d8738600f3f79d6 (diff)
Added debian package
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
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