54363e1e66
took me forever to remember that goggles starts up at the previous bookmark, which was broken on the dvd I was testing. Also, clean up the startup script while I'm there...
66 lines
1.8 KiB
Plaintext
66 lines
1.8 KiB
Plaintext
#----------------------------------------------------------------------------------------------------------------
|
|
# Basic File extensions
|
|
export BINEXT="" # Executable Extension
|
|
export LIBEXT=".a" # Static Library Extension
|
|
export DLLEXT=".so" # Dynamic Library Extension
|
|
export OBJEXT=".o" # Object Extension
|
|
export LIBPREFIX="lib" # Standard Library Prefix
|
|
export LIBDIR="lib" # Name of the library directory
|
|
|
|
# Compiler and Linker
|
|
export CC="gcc" # C Compiler
|
|
export CXX="g++" # C++ Compiler
|
|
export LINK=$CXX # Executable Linker
|
|
export DLLLINK="$CXX -shared" # Dynamic Library Linker
|
|
export LIBLINK="ar cru" # Static Library Linker
|
|
export DLLRPATH="-Wl,-rpath " # Search Path for Dynamic Libs
|
|
|
|
# Compiler and Linker Flags
|
|
export OUTPUTOBJ="-o" # Compiler flag to specify output object filename
|
|
export OUTPUTBIN="-o " # Compiler flag to specify output executable filename
|
|
export PICFLAG="" # Compiler flag to generate position independent code
|
|
|
|
if [ $DEFS == "-DDEBUG" ] ; then
|
|
export CFLAGS="${CFLAGS:--Wall -g -pipe }"
|
|
export CXXFLAGS="${CXXFLAGS:--Wall -g -pipe}"
|
|
export LDFLAGS=""
|
|
elif [ $DEFS == "-DNDEBUG" ] ; then
|
|
export CFLAGS="${CFLAGS:--Wall -O3 -pipe}"
|
|
export CXXFLAGS="${CXXFLAGS:--Wall -O3 -pipe}"
|
|
export LDFLAGS="-s"
|
|
else
|
|
export CFLAGS="${CFLAGS:--Wall -pipe}"
|
|
export CXXFLAGS="${CXXFLAGS:--Wall -pipe}"
|
|
export LDFLAGS=""
|
|
fi
|
|
|
|
export CPPFLAGS="-I./include -I${LOCALBASE}/include -I${X11BASE}/include ${CPPFLAGS}"
|
|
export LIBS=""
|
|
export DEFS="${DEFS}"
|
|
#----------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|