musique/config.mk

17 lines
412 B
Makefile
Raw Normal View History

MAKEFLAGS="-j $(grep -c ^processor /proc/cpuinfo)"
CXXFLAGS:=$(CXXFLAGS) -std=c++20 -Wall -Wextra -Werror=switch -Werror=return-type -Werror=unused-result
2022-12-01 01:22:57 +01:00
CPPFLAGS:=$(CPPFLAGS) -Ilib/expected/ -I. -Ilib/bestline/ -Ilib/rtmidi/ -Ilib/serial/include/
2022-10-08 20:32:41 +02:00
LDFLAGS=-flto
LDLIBS= -lpthread
2022-09-25 12:01:19 +02:00
RELEASE_FLAGS=-O2
DEBUG_FLAGS=-O0 -ggdb -fsanitize=undefined -DDebug
ifeq ($(shell uname),Darwin)
os=macos
2022-10-08 20:32:41 +02:00
else
os=linux
2022-10-08 20:32:41 +02:00
endif