projects
/
nameless-os.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cd522f
)
Use `git describe --long` as revision number
0.1.0
author
Duje Mihanović
<duje.mihanovic@skole.hr>
Sun, 8 May 2022 13:44:13 +0000
(15:44 +0200)
committer
Duje Mihanović
<duje.mihanovic@skole.hr>
Sun, 8 May 2022 13:44:13 +0000
(15:44 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 8ffcdf86123bb9b1acee0fe0ab3746d4d339cfbb..1c00c22f46aa77b1afb10f0de892868f15dfcc94 100644
(file)
--- 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)\"