Compare commits

..

No commits in common. "f89b46a60db1c121c80988e9dd22ea0b000e4a57" and "b51afc628f65e22d0e9ddf63d94ebf9bfbe9948d" have entirely different histories.

1 changed files with 2 additions and 15 deletions

17
configure vendored
View File

@ -1,18 +1,5 @@
#!/bin/sh #!/bin/sh
if [[ "$*" == *"--help"* ]] || [[ "$*" == *"-h"* ]]
then
echo "Use environment variables to pass values:
CC - compiler (default: cc)
CFLAGS - flags for compiler
LDFLAGS - flags for linker
OUT - out file (default: game
SIZE - size of game field
DEFX - start x
DEFY - start y"
exit 1
fi
CC=${CC:-cc} CC=${CC:-cc}
RM=${RM:-rm -f} RM=${RM:-rm -f}
CFLAGS=${CFLAGS:-} CFLAGS=${CFLAGS:-}
@ -34,8 +21,8 @@ echo "Size: $SIZE"
echo "Start x: $DEFX" echo "Start x: $DEFX"
echo "Start y: $DEFY" echo "Start y: $DEFY"
if ! test -d config; then if [ ! test -d config ]; then
if test -f config; then if [ test-f config ]; then
rm config rm config
fi fi
mkdir config mkdir config