Açıklama Yok
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 623B

12345678910111213141516171819202122232425262728
  1. inputs = $(wildcard *.svg)
  2. outputs = $(inputs:%.svg=output/%_44100.wav)
  3. outputs += $(inputs:%.svg=output/%_48000.wav)
  4. outputs += $(inputs:%.svg=output/%_96000.wav)
  5. outputs += $(inputs:%.svg=output/%_192000.wav)
  6. .PHONY: all
  7. all: output ${outputs}
  8. output:
  9. mkdir output
  10. output/%_44100.wav: %.svg
  11. ./render.py -s 44100 -o $(@:%.svg=%_44100.wav) $<
  12. output/%_48000.wav: %.svg
  13. ./render.py -s 48000 -o $(@:%.svg=%_48000.wav) $<
  14. output/%_96000.wav: %.svg
  15. ./render.py -s 96000 -o $(@:%.svg=%_96000.wav) $<
  16. output/%_192000.wav: %.svg
  17. ./render.py -s 192000 -o $(@:%.svg=%_192000.wav) $<
  18. .PHONY: clean
  19. clean:
  20. rm -rf output