X-Git-Url: http://git.dujemihanovic.xyz/posts?a=blobdiff_plain;f=Makefile;h=1c00c22f46aa77b1afb10f0de892868f15dfcc94;hb=7347996b17f93be76e35362f8a3f6ed01555a65e;hp=8ffcdf86123bb9b1acee0fe0ab3746d4d339cfbb;hpb=0cd522f39687d1fed9e204e5504d19baa8d85e04;p=nameless-os.git diff --git a/Makefile b/Makefile index 8ffcdf8..1c00c22 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) +GIT_REV = $(shell git describe --long HEAD) CFLAGS = -std=gnu89 -g -Iinclude/arch/x86 -ffreestanding -DGIT_COMMIT=\"$(GIT_REV)\"