LOCAL=$(HOME)/.local

all: debug

debug:
	cargo build

release:
	cargo build --release

install: release
	cp target/release/energy_bench $(LOCAL)/bin/

uninstall:
	$(RM) $(LOCAL)/bin/energy_bench.so

clean:
	cargo clean
