21 lines
317 B
Bash
Executable File
21 lines
317 B
Bash
Executable File
#!/bin/sh
|
|
|
|
CC=${CC:-cc}
|
|
RM=${RM:-rm -f}
|
|
CFLAGS=${CFLAGS:-}
|
|
LDFLAGS=${LDFLAGS:-}
|
|
OUT=${OUT:-game}
|
|
SIZE=${SIZE:-10}
|
|
|
|
echo "Compiler: $CC"
|
|
echo "Remove: $RM"
|
|
echo "CFLAGS: $CFLAGS"
|
|
echo "LDFLAGS: $LDFLAGS"
|
|
echo "Out file: $OUT"
|
|
|
|
echo "CC = $CC
|
|
RM = $RM
|
|
CFLAGS = $CFLAGS
|
|
LDFLAGS = $LDFLAGS
|
|
OUT = $OUT" > config/config.mk
|