mirror of
https://github.com/djhackersdev/bemanitools-supplement.git
synced 2026-03-21 17:34:13 -05:00
21 lines
341 B
Makefile
21 lines
341 B
Makefile
V ?= @
|
|
BUILDDIR ?= build
|
|
|
|
gitrev := $(shell git rev-parse HEAD)
|
|
|
|
all: print-building
|
|
|
|
.PHONY: clean print-building
|
|
|
|
print-building:
|
|
@echo "Building gitrev "$(gitrev)"..."
|
|
|
|
clean:
|
|
$(V)rm -rf $(BUILDDIR)
|
|
|
|
# Generate a version file to identify the build
|
|
version:
|
|
@echo "$(gitrev)" > version
|
|
|
|
include Module.mk
|