Move final targets up so that the wav target is the default.
authorRicardo Wurmus <rekado@elephly.net>
Wed, 22 Feb 2017 10:15:13 +0000 (11:15 +0100)
committerRicardo Wurmus <rekado@elephly.net>
Wed, 22 Feb 2017 10:15:13 +0000 (11:15 +0100)
targets.mk

index a75de30..c44f92c 100644 (file)
@@ -8,6 +8,17 @@ CPU_CORES=`grep -m1 "cpu cores" /proc/cpuinfo | tr -cd '[:digit:]'`
 # The command to run lilypond
 LILY_CMD = lilypond -ddelete-intermediate-files -drelative-includes -djob-count=$(CPU_CORES)
 
+wav: $(NAME).wav
+ogg: $(NAME).ogg
+guide: guide.wav
+
+upload-ogg: ogg
+       scp $(NAME).ogg elephly.net:~/elephly.net/secret/band/$(NAME)/$(NAME).ogg
+
+upload-wav: wav
+       scp $(NAME).wav elephly.net:~/elephly.net/secret/band/$(NAME)/$(NAME).wav
+
+
 parts/%.pdf: parts/%.ly music/%.ly
        $(LILY_CMD) $<
 
@@ -31,13 +42,3 @@ guide.wav: $(NAME)-klick.wav $(NAME).wav
 
 %.ogg: %.wav
        oggenc $<
-
-wav: $(NAME).wav
-ogg: $(NAME).ogg
-guide: guide.wav
-
-upload-ogg: ogg
-       scp $(NAME).ogg elephly.net:~/elephly.net/secret/band/$(NAME)/$(NAME).ogg
-
-upload-wav: wav
-       scp $(NAME).wav elephly.net:~/elephly.net/secret/band/$(NAME)/$(NAME).wav