From c161e1016a04566a56b4858ea43502fed88dcc7f Mon Sep 17 00:00:00 2001 From: gramanas Date: Thu, 20 Apr 2023 18:24:49 +0300 Subject: Add midi --- src/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 91e1be5..3aff1d3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -6,6 +6,8 @@ common_sources = filter.c \ lowpass.c \ lowpass.h \ Makefile.am \ + midi.c \ + midi.h \ notes.h \ raygui.h \ synth_engine.c \ @@ -24,10 +26,10 @@ common_sources = filter.c \ # -fno-math-errno and stuff like that, without enabling # -funsafe-math-optimizations. Some FP code can get big speedups from # fast-math, like auto-vectorization. -AM_CFLAGS = -O3 -march=native -fno-math-errno -funroll-loops -flto +AM_CFLAGS = -O3 -march=native -fno-math-errno -funroll-loops -flto -pthread synth_SOURCES = synth.c $(common_sources) -synth_LDADD = -lportaudio -lrt -lm -lasound -lraylib +synth_LDADD = -lportaudio -lrt -lm -lasound -lraylib -lportmidi #cookbook_SOURCES = cookbook.c $(common_sources) #cookbook_SOURCES = cookbook.c $(common_sources) #cook_SOURCES = cook.c $(common_sources) -- cgit v1.2.3