13 lines
437 B
Makefile
13 lines
437 B
Makefile
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
|
|
CPPFLAGS:=$(CPPFLAGS) -Ilib/expected/ -Ilib/midi/include -I. -Ilib/bestline/
|
|
|
|
RELEASE_FLAGS=-O2
|
|
DEBUG_FLAGS=-O0 -ggdb -fsanitize=undefined -DDebug
|
|
|
|
CXX=g++
|
|
|
|
LDFLAGS=-L./lib/midi/ -flto
|
|
LDLIBS=-lmidi-alsa -lasound -lpthread -static-libgcc -static-libstdc++
|