summaryrefslogtreecommitdiff
path: root/experiments/Makefile
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2024-10-08 06:05:51 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2024-10-08 06:05:51 +0200
commit65ffdf410ca5c36f059bee8619f87147f802a82e (patch)
tree047d9b679497a7b5e367e8b1b1f5e5f24d945af2 /experiments/Makefile
parent562c07f32366687dcb032b9a2628b9c85a01432e (diff)
downloadttdaw-65ffdf410ca5c36f059bee8619f87147f802a82e.tar.gz
Renamed to experiments and added watch for changes
Diffstat (limited to 'experiments/Makefile')
-rw-r--r--experiments/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/experiments/Makefile b/experiments/Makefile
new file mode 100644
index 0000000..ad822f5
--- /dev/null
+++ b/experiments/Makefile
@@ -0,0 +1,22 @@
+CC := cc
+CFLAGS := -Wall
+LDFLAGS := -lm -ldl -lpthread -lasound
+
+all: \
+ soundfont_basic \
+ soundfont_from_file \
+ alsa_midi_controller \
+ watch_file_changes
+
+soundfont_basic: soundfont_basic.c
+ $(CC) $(CFLAGS) soundfont_basic.c ../minisdl_audio.c $(LDFLAGS) -o soundfont_basic
+
+soundfont_from_file: soundfont_from_file.c
+ $(CC) $(CFLAGS) soundfont_from_file.c ../minisdl_audio.c $(LDFLAGS) -o soundfont_from_file
+
+alsa_midi_controller: alsa_midi_controller.c
+ $(CC) $(CFLAGS) alsa_midi_controller.c $(LDFLAGS) -o alsa_midi_controller
+
+watch_file_changes: watch_file_changes.c
+ $(CC) $(CFLAGS) watch_file_changes.c $(LDFLAGS) -o watch_file_changes
+