2022-08-18 22:58:41 +02:00
|
|
|
MAKEFLAGS="-j $(grep -c ^processor /proc/cpuinfo)"
|
|
|
|
|
|
|
|
CXXFLAGS:=$(CXXFLAGS) -std=c++20 -Wall -Wextra -Werror=switch -Werror=return-type -Werror=unused-result -Wno-maybe-uninitialized
|
2022-09-23 16:42:33 +02:00
|
|
|
CPPFLAGS:=$(CPPFLAGS) -Ilib/expected/ -Ilib/ut/ -Ilib/midi/include -I. -Ilib/bestline/
|
2022-08-18 22:58:41 +02:00
|
|
|
|
|
|
|
RELEASE_FLAGS=-O3
|
|
|
|
DEBUG_FLAGS=-O0 -ggdb -fsanitize=undefined -DDebug
|
|
|
|
|
|
|
|
CXX=g++
|
|
|
|
|
|
|
|
LDFLAGS=-L./lib/midi/
|
2022-09-18 16:42:39 +02:00
|
|
|
LDLIBS=-lmidi-alsa -lasound -lpthread -static-libgcc -static-libstdc++
|