-
Notifications
You must be signed in to change notification settings - Fork 1
/
defs.mk.template
32 lines (26 loc) · 1023 Bytes
/
defs.mk.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#Compilers
CC := g++ -std=c++20
CFLAGS := -arch arm64 -Wno-psabi -O3
DGEN := doxygen
SRCEXT := cc
#The Target Binary Program
TARGET := libyase.a
#The Directories, Source, Includes, Objects, Binary and Resources
ROOT_DIR := /where/you/installed/yase
SRCDIR := $(ROOT_DIR)/src
BUILDDIR := $(ROOT_DIR)/build
TARGETDIR := $(ROOT_DIR)/lib
EXAMPLE_DIRS := $(wildcard $(ROOT_DIR)/examples/*)
# Directories where include files are
INCDIR := -I $(ROOT_DIR)/include \
-I /opt/homebrew/opt/nlohmann-json/include/nlohmann \
-I /opt/homebrew/opt/nlohmann-json/include \
-I /opt/homebrew/opt/rtmidi/include/rtmidi \
-I /opt/homebrew/opt/portaudio/include \
-I /opt/homebrew/opt/adamstark-audiofile/include
# Libraries for executables
LIBDIR := -L $(ROOT_DIR)/lib \
-L /opt/homebrew/opt/portaudio/lib \
-L /opt/homebrew/opt/rtmidi/lib \
-L /opt/homebrew/opt/fftw/lib
LIBS := -lpthread -lyase -lportaudio -lrtmidi