summaryrefslogtreecommitdiff
path: root/os2eindopdracht/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-05-30 15:13:18 +0200
committerlonkaars <loek@pipeframe.xyz>2023-05-30 15:13:18 +0200
commite346087f316e112a8af9494be13bfff188f3cc0b (patch)
tree67342a97434bfe8481c305fea6495c7ff1474454 /os2eindopdracht/makefile
parentafa02662b185f62644b1e44a55820ded1e703fd2 (diff)
file copy working
Diffstat (limited to 'os2eindopdracht/makefile')
-rw-r--r--os2eindopdracht/makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/os2eindopdracht/makefile b/os2eindopdracht/makefile
index d88ea30..f71ef29 100644
--- a/os2eindopdracht/makefile
+++ b/os2eindopdracht/makefile
@@ -22,3 +22,16 @@ clean:
compile_commands:
compiledb make -Bn
+original.pcm: original.flac
+ ./any2s16lepcm $< $@
+
+edit.pcm: original.pcm ./main
+ ./main $< $@
+
+edit.wav: edit.pcm
+ ./s16lepcm2any $< $@
+
+edit.png: edit.wav
+
+%.png: %.wav
+ sox $< -n spectrogram -o $@