example fix

master
Daniel Kolesa 2015-10-26 18:02:26 +00:00
parent 1c0772d2e7
commit d1db963c6e
1 changed files with 4 additions and 6 deletions

View File

@ -1,4 +1,7 @@
CC = (getenv CC)
if (=s $CC "") [
CC = "cc"
]
rule all test
@ -20,12 +23,7 @@ action clean [
]
action info [
if (=s $CC "") [
echo "no compiler found, using cc"
CC = "cc"
] [
echo "using compiler:" $CC
]
echo "compiler:" $CC
echo "number of CPUs:" $numcpus
echo "number of jobs:" $numjobs
]