mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
a78b9452d3
fxsudoku is an implementation of the Sudoku game. The aim of Sudoku is to enter a numerical digit from 1 through 9 in each cell of a 99 grid made up of 33 subgrids (called "regions"), starting with various digits given in some cells (the "givens"). Each row, column, and region must contain only one instance of each numeral. Completing the puzzle requires patience and logical ability. Author: Sander Jansen <sander@knology.net> WWW: http://www.fifthplanet.net/ PR: ports/95245 Submitted by: Edwin Groothuis <edwin@mavetju.org>
42 lines
1.8 KiB
Plaintext
42 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
|
|
export DEFAULT_PREFIX="/usr/local"
|
|
|
|
# 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 ${CPPFLAGS}"
|
|
export LIBS=""
|
|
export DEFS="${DEFS} -DLINUX"
|
|
#----------------------------------------------------------------------------------------------------------------
|