# ---------------------------------------------------------------------------- # Copyright (c) 2024 Thomas Buck (thomas@xythobuz.de) # Copyright (c) 2024 Philipp Schönberger (mail@phschoen.de) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # See . # ---------------------------------------------------------------------------- inputs = $(wildcard *.svg) outputs = $(inputs:%.svg=output/%.wav) outputs += $(inputs:%.svg=output/%_rotate.wav) .PHONY: all all: output ${outputs} output: mkdir output output/%.wav: %.svg ./render.py -s 192000 -o $@ $< output/%_rotate.wav: %.svg ./render.py -s 192000 -p 72 -o $@ $< .PHONY: clean clean: rm -rf output