mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 17:32:13 +00:00
09f0c239b6
git-svn-id: https://svn.eduke32.com/eduke32@5 1a8010ca-5511-0410-912e-c29ae57300e0
10 lines
453 B
Bash
10 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
|