Default debug target in makefile

This commit is contained in:
Imbus 2024-05-11 10:26:21 +02:00
parent f5cacad639
commit 32f164bcb5

View file

@ -1,6 +1,9 @@
PROJECT = $(shell basename $(CURDIR))
GITHASH = $(shell git rev-parse --short HEAD)
debug:
cargo run
release:
cargo build --release
tar -czf $(PROJECT)_$(GITHASH).tar.gz -C target/release $(PROJECT)