2018-12-30 19:10:51 +01:00
|
|
|
OCAMLBUILD=bapbuild -no-hygiene
|
2018-10-23 19:21:57 +02:00
|
|
|
BAPBUNDLE=bapbundle
|
|
|
|
ROOT_MODULE=dwarfsynth
|
|
|
|
|
|
|
|
|
2019-03-18 14:27:24 +01:00
|
|
|
all: install ml_dwarf_write.bin
|
|
|
|
|
|
|
|
.PHONY: ml_dwarf_write.bin
|
|
|
|
ml_dwarf_write.bin:
|
|
|
|
$(MAKE) -C DwarfSynth/c_bindings
|
|
|
|
ln -fs DwarfSynth/c_bindings/ml_dwarf_write.bin .
|
2018-10-23 19:21:57 +02:00
|
|
|
|
|
|
|
.PHONY: $(ROOT_MODULE).plugin
|
|
|
|
$(ROOT_MODULE).plugin:
|
|
|
|
$(OCAMLBUILD) $(ROOT_MODULE).plugin
|
|
|
|
|
|
|
|
.PHONY: install
|
|
|
|
install: $(ROOT_MODULE).plugin
|
|
|
|
$(BAPBUNDLE) install $<
|
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
rm -rf _build
|