Merge branch 'einsteinx2/fix-makefile' into 'master'

Fixed Makefile GL/version.h (echo -e to printf)

See merge request simulant/GLdc!54
This commit is contained in:
Luke Benstead 2020-04-05 19:13:46 +00:00
commit 9116332815
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: GL/version.h:
rm -f $@ 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: link:
$(KOS_AR) rcs $(TARGET) $(OBJS) $(KOS_AR) rcs $(TARGET) $(OBJS)