diff options
author | James McKenzie <root@ka-ata-killa.panaceas.james.local> | 2023-01-16 08:14:09 +0000 |
---|---|---|
committer | James McKenzie <root@ka-ata-killa.panaceas.james.local> | 2023-01-16 08:14:09 +0000 |
commit | 3d1eae53e8efd24f9331bfc973c0951981512d7c (patch) | |
tree | a87c3f881adb62b8a65d7d473e18a963fc440cd0 /Makefile | |
download | fugue21-master.tar.gz fugue21-master.tar.bz2 fugue21-master.zip |
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a96b685 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +LIBS=-lm + +default: fugue21.wav + +fugue21.wav: fugue21.raw Makefile + sox -v 1.0 -t raw -r 44100 -c 1 -b 8 -e signed-integer $< -t wav -b 16 $@ + + +fugue21.raw: fugue21.mid midi + ./midi + + +OBJS=midi.o + +midi:${OBJS} + ${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${OBJS} ${LIBS} |