Fix to find rtmidi headers on newer distributions
This commit is contained in:
parent
0dd05b57f7
commit
733e1e9a3f
1 changed files with 5 additions and 0 deletions
5
Makefile
5
Makefile
|
|
@ -1,4 +1,9 @@
|
|||
|
||||
# Newer distributions put rtmidi headers in subdirectory
|
||||
RTMIDI_INC := $(shell ls -d /usr/include/rtmidi 2>/dev/null | tail -n 1)
|
||||
ifneq (,$(RTMIDI_INC))
|
||||
INCDIRS = -I/usr/include/rtmidi
|
||||
endif
|
||||
|
||||
SRC = $(wildcard *.cpp)
|
||||
OBJ = $(subst .cpp,.o,$(SRC))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue