Created Friday 25 April 2008
SubDir TOP ;
rule OggEnc { MakeLocate $(<) : $(LOCATE_TARGET) ; SEARCH on $(<) = $(SEARCH_SOURCE) ; Depends $(<) : $(>) ; }
actions OggEnc { oggenc $(OGGENCFLAGS) -o "$(<)" "$(>)" }
for file in [ Glob $(DOT) : *.flac ] { OggEnc $(file:S=.ogg) : $(file) ; Depends all : $(file:S=.ogg) ; OGGENCFLAGS on $(file:S=.ogg) = -q10 ; }