diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -28,18 +28,23 @@ endif # recipes -.PHONY: all run pack classes dirs clean +.PHONY: all run jar classes dirs clean all: classes classes: dirs $(JAVAC) $(JAVAC_ARGS) -d build $(SOURCES) + # copy resources folder + cp -r src/subconscious/res build/subconscious/res .ONESHELL: run: classes cd build $(JAVA) $(JAVA_ARGS) $(MAINCLASS) -# TODO: recipe for jar file +.ONESHELL: +jar: classes + cd build + jar cfm subconscious.jar ../manifest.txt `find . -type f` dirs: mkdir -p build |