mirror of
https://github.com/djhackersdev/bemanitools-supplement.git
synced 2026-04-26 00:27:23 -05:00
Update GNUmakefile, port from bemanitools.
This commit is contained in:
parent
b3a472e6a7
commit
d70b54dc2c
13
GNUmakefile
13
GNUmakefile
|
|
@ -3,13 +3,18 @@ BUILDDIR ?= build
|
||||||
|
|
||||||
gitrev := $(shell git rev-parse HEAD)
|
gitrev := $(shell git rev-parse HEAD)
|
||||||
|
|
||||||
all:
|
all: print-building
|
||||||
# Generate a version file to identify the build
|
|
||||||
@echo "$(gitrev)" > version
|
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean print-building
|
||||||
|
|
||||||
|
print-building:
|
||||||
|
@echo "Building gitrev "$(gitrev)"..."
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(V)rm -rf $(BUILDDIR)
|
$(V)rm -rf $(BUILDDIR)
|
||||||
|
|
||||||
|
# Generate a version file to identify the build
|
||||||
|
version:
|
||||||
|
@echo "$(gitrev)" > version
|
||||||
|
|
||||||
include Module.mk
|
include Module.mk
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user