Allow overriding the number of build jobs

This commit is contained in:
Sam Lantinga
2009-12-05 19:46:24 +00:00
parent a90e5b78ce
commit 489e0472a0

View File

@@ -4,7 +4,9 @@
# Number of CPUs (for make -j)
NCPU=`sysctl -n hw.ncpu`
NJOB=$NCPU
if test x$NJOB = x; then
NJOB=$NCPU
fi
# Generic, cross-platform CFLAGS you always want go here.
CFLAGS="-O3 -g -pipe"