16 lines
243 B
Makefile
16 lines
243 B
Makefile
V ?= @
|
|
BUILDDIR ?= build
|
|
|
|
gitrev := $(shell git rev-parse HEAD)
|
|
|
|
all:
|
|
# Generate a version file to identify the build
|
|
@echo "$(gitrev)" > version
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
$(V)rm -rf $(BUILDDIR)
|
|
|
|
include Module.mk
|