X-Git-Url: http://git.dujemihanovic.xyz/posts?a=blobdiff_plain;f=Makefile;h=aee8cc187a36d118823f8b1e66abedbbd4a99d87;hb=HEAD;hp=8ffcdf86123bb9b1acee0fe0ab3746d4d339cfbb;hpb=94770e6354578485b2aed68dcc3064e5d6862645;p=nameless-os.git diff --git a/Makefile b/Makefile index 8ffcdf8..aee8cc1 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ export AS = yasm export CC = i686-elf-gcc QEMU = qemu-system-i386 -monitor stdio -GIT_REV = $(shell git rev-parse --short HEAD) +export GIT_REV = $(shell git describe --long HEAD) CFLAGS = -std=gnu89 -g -Iinclude/arch/x86 -ffreestanding -DGIT_COMMIT=\"$(GIT_REV)\"