CRAFTBUKKIT_VERSION := 1.7.2-R0.2 CRAFTBUKKIT_FULL_VERSION := 1.7.2-R0.4-20140216.012104-3 PURUGIN_VERSION := 0.7.1 DEPS := \ craftbukkit.jar \ eula.txt \ plugins/Purugin.jar \ jruby-complete.jar .PHONY: all all: deps .PHONY: deps deps: $(DEPS) .PHONY: clean clean: rm -vf $(DEPS) craftbukkit.jar: curl -SL --progress -o $@ \ http://tcpr.ca/download/craftbukkit/craftbukkit-$(CRAFTBUKKIT_FULL_VERSION).jar eula.txt: echo "eula=true" > $@ plugins/Purugin.jar: plugins curl -SL --progress -o $@ \ http://dev.bukkit.org/media/files/765/560/purugin-$(PURUGIN_VERSION)-bukkit-$(CRAFTBUKKIT_VERSION).jar plugins: mkdir -p $@ jruby-complete.jar: curl -SL --progress -o $@ \ https://s3.amazonaws.com/jruby.org/downloads/1.7.19/jruby-complete-1.7.19.jar