diff options
author | Roland Reichwein <mail@reichwein.it> | 2021-02-21 10:56:51 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2021-02-21 10:56:51 +0100 |
commit | 3b758009c7b1e945444ca3be746d05074bac0dab (patch) | |
tree | c89664e877fe695975336a53fc1c452f060d3d13 /Makefile | |
parent | 2b31c2bfa8b833b0837207b21d8738600f3f79d6 (diff) |
Added debian package
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |