Makefile handles music folder now, too.
This commit is contained in:
parent
361377a567
commit
15eac026a7
2
Makefile
2
Makefile
|
@ -5,7 +5,7 @@ game.jar: clean
|
||||||
find src/ -type f -name '*.java' -print0 | xargs -0 javac -cp src/ -d compiled/
|
find src/ -type f -name '*.java' -print0 | xargs -0 javac -cp src/ -d compiled/
|
||||||
cp -r res/* compiled/
|
cp -r res/* compiled/
|
||||||
echo 'Main-Class: de.teamteamteam.spacescooter.Main' >compiled/manifest.txt
|
echo 'Main-Class: de.teamteamteam.spacescooter.Main' >compiled/manifest.txt
|
||||||
jar cvfe game.jar 'de.teamteamteam.spacescooter.Main' -C compiled de -C compiled images -C compiled sounds
|
jar cvfe game.jar 'de.teamteamteam.spacescooter.Main' -C compiled de -C compiled images -C compiled sounds -C compiled music
|
||||||
|
|
||||||
run: game.jar
|
run: game.jar
|
||||||
java -jar game.jar
|
java -jar game.jar
|
||||||
|
|
Loading…
Reference in New Issue