example fix
parent
1c0772d2e7
commit
d1db963c6e
|
@ -1,4 +1,7 @@
|
||||||
CC = (getenv CC)
|
CC = (getenv CC)
|
||||||
|
if (=s $CC "") [
|
||||||
|
CC = "cc"
|
||||||
|
]
|
||||||
|
|
||||||
rule all test
|
rule all test
|
||||||
|
|
||||||
|
@ -20,12 +23,7 @@ action clean [
|
||||||
]
|
]
|
||||||
|
|
||||||
action info [
|
action info [
|
||||||
if (=s $CC "") [
|
echo "compiler:" $CC
|
||||||
echo "no compiler found, using cc"
|
|
||||||
CC = "cc"
|
|
||||||
] [
|
|
||||||
echo "using compiler:" $CC
|
|
||||||
]
|
|
||||||
echo "number of CPUs:" $numcpus
|
echo "number of CPUs:" $numcpus
|
||||||
echo "number of jobs:" $numjobs
|
echo "number of jobs:" $numjobs
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue