Introducing utility library, implementing Localizer
This commit is contained in:
@@ -19,7 +19,7 @@ default:
|
||||
@echo
|
||||
@echo "Usage: make <recipe>"
|
||||
@echo " Package recipes:"
|
||||
@echo " build Produces a .jar and deletes all intermediate files"
|
||||
@echo " bundle Produces a .jar and deletes all intermediate files"
|
||||
@echo " clean Deletes all output files"
|
||||
@echo " core Check the native core library for style errors"
|
||||
@echo " desktop Compiles the Java desktop application"
|
||||
@@ -39,8 +39,8 @@ default:
|
||||
###############################################################################
|
||||
|
||||
# Perform a full build process
|
||||
.PHONY: build
|
||||
build:
|
||||
.PHONY: bundle
|
||||
bundle:
|
||||
@make -s core
|
||||
@make -s desktop
|
||||
@make -s native
|
||||
@@ -67,7 +67,7 @@ core:
|
||||
.PHONY: desktop
|
||||
desktop: clean_desktop
|
||||
@echo " Compiling Java desktop application"
|
||||
@javac -sourcepath src/desktop -d . src/desktop/Main.java
|
||||
@javac -sourcepath src/desktop -d . -Xlint:unchecked src/desktop/Main.java
|
||||
|
||||
# Build all native modules
|
||||
.PHONY: native
|
||||
@@ -83,12 +83,12 @@ pack:
|
||||
$(eval jarname = "pvbemu_`date +%Y%m%d`.jar")
|
||||
@echo " Bundling into $(jarname)"
|
||||
@jar -cfe $(jarname) Main *.class \
|
||||
locale native src vue makefile license.txt
|
||||
locale native src util vue makefile license.txt
|
||||
|
||||
# Delete only Java .class files
|
||||
.PHONY: clean_desktop
|
||||
clean_desktop:
|
||||
@rm -r -f *.class vue
|
||||
@rm -r -f *.class util vue
|
||||
|
||||
# Delete everything but the .jar
|
||||
.PHONY: clean_most
|
||||
|
||||
Reference in New Issue
Block a user