mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 11:40:44 +00:00
11 lines
453 B
Bash
11 lines
453 B
Bash
|
#!/bin/sh
|
||
|
UNAME=`uname -a`
|
||
|
CC="gcc"
|
||
|
CCVERSION=`$CC -dumpversion`
|
||
|
CCMACHINE=`$CC -dumpmachine`
|
||
|
echo "const char _engine_cflags[] = \"$OTHER_CFLAGS\";" > engineinfo.c
|
||
|
echo "const char _engine_libs[] = \"$LIBS\";" >> engineinfo.c
|
||
|
echo "const char _engine_uname[] = \"$UNAME\";" >> engineinfo.c
|
||
|
echo "const char _engine_compiler[] = \"$CC $CCVERSION $CCMACHINE\";" >> engineinfo.c
|
||
|
echo "const char _engine_date[] = __DATE__ \" \" __TIME__;" >> engineinfo.c
|