unicorn/bindings/java/Makefile
Jeremy Sears c3c6e250e4
Fix Java Makefile on Darwin (#936)
* Fixes the logic for Dylib extensions on macOS.
* Adds an uninstall task and documentation.

Backports commit 94b116877670ed9bbe38b71e3b9ad28f10cb3775 from unicorn
2019-02-28 16:58:03 -05: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