summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore9
-rw-r--r--Makefile14
-rw-r--r--main.c7
-rw-r--r--sf2/florestan-piano.sf2bin0 -> 7809600 bytes
4 files changed, 14 insertions, 16 deletions
diff --git a/.gitignore b/.gitignore
index 47fd165..e67c165 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
-example1
-example2
-example3
-example4
+examples/example1
+examples/example2
+examples/example3
+examples/example4
+ttdaw
diff --git a/Makefile b/Makefile
index 727e920..3d2191a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,3 @@
-tests: build-portmidi
- $(CC) -Wall example1.c minisdl_audio.c -lm -ldl -lpthread -o example1
- $(CC) -Wall example2.c minisdl_audio.c -lm -ldl -lpthread -o example2
- $(CC) -Wall example3.c -L./portmidi -lportmidi -o example3
+ttdaw: main.c
+ $(CC) -Wall -o ttdaw main.c minisdl_audio.c -lm -ldl -lpthread -lasound -lm
-run-example3: tests
- LD_LIBRARY_PATH=./portmidi ./example3
-
-run-example4:
- $(CC) example4.c -lasound -lm -o example4 && ./example4
-
-build-portmidi:
- cd portmidi && cmake . && make
diff --git a/main.c b/main.c
new file mode 100644
index 0000000..51bcdb6
--- /dev/null
+++ b/main.c
@@ -0,0 +1,7 @@
+#include <stdio.h>
+
+int main(int argc, char *argv[]) {
+ fprintf(stdout, "Oh, hi Mark!\n");
+ return 0;
+}
+
diff --git a/sf2/florestan-piano.sf2 b/sf2/florestan-piano.sf2
new file mode 100644
index 0000000..727e5e9
--- /dev/null
+++ b/sf2/florestan-piano.sf2
Binary files differ