builder

package builder
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/builder

commit d3857c3381544791f0f667770a88eca46fe1cbd4
parent fe819dd7ffd1ea90f453dea64a0a4bda37c16e6f
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Sun, 22 Jan 2017 20:02:25 +0100

Add(Makefile): Now versionning with git

Diffstat:
MMakefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -24,7 +24,7 @@ CFLAGS = -Wall -Wextra -Werror -Wno-unused-result \ LFLAGS = -lmorphux SRCS = $(wildcard src/*.c) OBJS = $(SRCS:%.c=%.o) -VERSION = 0.0.0.0 +VERSION = git_$(shell git branch | sed -n -e 's/^\* \(.*\)/\1/p')-$(shell git rev-parse --verify HEAD) MAINTAINER = Jules HEZARD <hezardj@gmail.com> all: $(NAME)