Ei kuvausta
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 1.1KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # ----------------------------------------------------------------------------
  2. # Copyright (c) 2024 Thomas Buck (thomas@xythobuz.de)
  3. # Copyright (c) 2024 Philipp Schönberger (mail@phschoen.de)
  4. #
  5. # This program is free software: you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation, either version 3 of the License, or
  8. # (at your option) any later version.
  9. #
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. # GNU General Public License for more details.
  14. #
  15. # See <http://www.gnu.org/licenses/>.
  16. # ----------------------------------------------------------------------------
  17. inputs = $(wildcard *.svg)
  18. outputs = $(inputs:%.svg=output/%.wav)
  19. outputs += $(inputs:%.svg=output/%_rotate.wav)
  20. .PHONY: all
  21. all: output ${outputs}
  22. output:
  23. mkdir output
  24. output/%.wav: %.svg
  25. ./render.py -s 192000 -o $@ $<
  26. output/%_rotate.wav: %.svg
  27. ./render.py -s 192000 -p 72 -o $@ $<
  28. .PHONY: clean
  29. clean:
  30. rm -rf output