Add makefile for csources
This should speed up compilation of csources significantly, as it can be used with "make -j $NUMPROCS" Only tested on Linux so far
This commit is contained in:
parent
1b7d7ae1cb
commit
02432f1052
4 changed files with 176 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#! stdtmpl(subsChar='?') | standard
|
||||
#proc generateBuildShellScript(c: ConfigData): string =
|
||||
# result = "#! /bin/sh\n# Generated from niminst\n" &
|
||||
# "# Template is in tools/buildsh.tmpl\n" &
|
||||
# "# Template is in tools/niminst/buildsh.tmpl\n" &
|
||||
# "# To regenerate run ``niminst csource`` or ``koch csource``\n"
|
||||
|
||||
set -e
|
||||
|
|
@ -111,7 +111,7 @@ case $ucpu in
|
|||
LINK_FLAGS="$LINK_FLAGS -m64"
|
||||
fi
|
||||
mycpu="powerpc64" ;;
|
||||
*power*|*Power*|*ppc* )
|
||||
*power*|*ppc* )
|
||||
mycpu="powerpc" ;;
|
||||
*mips* )
|
||||
mycpu="mips" ;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue