diff options
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} |