This commit is contained in:
Luke Benstead 2020-04-05 21:13:07 +01:00
commit f3b1848879
2 changed files with 1 additions and 4 deletions

View File

@ -1,3 +0,0 @@
#pragma once
#define GLDC_VERSION "1.1-104-gf2a3-dirty"

View File

@ -15,7 +15,7 @@ KOS_CFLAGS += -ffast-math -Ofast -Iinclude
GL/version.h:
rm -f $@
@echo -e '#pragma once\n#define GLDC_VERSION "$(shell git describe --abbrev=4 --dirty --always --tags)"\n' > $@
@printf '#pragma once\n#define GLDC_VERSION "$(shell git describe --abbrev=4 --dirty --always --tags)"\n' > $@
link:
$(KOS_AR) rcs $(TARGET) $(OBJS)