unicorn/bindings/java/Makefile
Jeremy Sears 94b1168776 Fix Java Makefile on Darwin (#936)
* Fixes the logic for Dylib extensions on macOS.
* Adds an uninstall task and documentation.
2018-03-12 20:40:40 +07:00

30 lines
468 B
Makefile

.PHONY: gen_const clean jar all lib samples install
all: gen_const
$(MAKE) -f Makefile.build all
lib:
$(MAKE) -f Makefile.build lib
samples:
$(MAKE) -f Makefile.build samples
jar:
$(MAKE) -f Makefile.build jar
install: lib jar
$(MAKE) -f Makefile.build install
uninstall:
$(MAKE) -f Makefile.build uninstall
gen_const:
cd .. && python const_generator.py java
clean:
rm -f unicorn/*.class
rm -f samples/*.class
rm -f *.so
rm -f *.dylib
rm -f *.dll