1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
# Makefile for binding optimizer:
# directories
ANADIRS = ../../analysis:../../CASS
# binaries
# TODO: move to $(BINDIR)/.local
TOOL = $(ROOT)/currytools/optimize/bindingopt
.PHONY: all compile install clean uninstall
all: install
compile: BindingOpt
install: compile
rm -f $(TOOL)
cd .. && ln -s binding_optimization/BindingOpt $(notdir $(TOOL))
clean:
$(CLEANCURRY) -r
rm -f BindingOpt
uninstall: clean
rm -f $(TOOL)
BindingOpt: BindingOpt.curry
# create executable for top-level function "main":
$(REPL) $(REPL_OPTS) :set path $(ANADIRS) :l $< :save :q
# Load only the program into the Curry system:
.PHONY: load
load: BindingOpt.curry
$(REPL) $(REPL_OPTS) :set path $(ANADIRS) :l $<
|