156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
|
fi
# only rebuild the file if the source file is newer
if test "$debug" = yes; then
local dflag="-g"
else
local dflag="-O4"
fi
report $cc $src $3 $dflag -std=c11 -isystem "$to" -isystem "$gen" -isystem "arch/" -ffreestanding -nostdlib "-L$to" "-o$output"
}
say "commencing libk build $build at $(timestamp)"
# set -x
# get type data
mkdir -p $gen
|
|
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
|
fi
# only rebuild the file if the source file is newer
if test "$debug" = yes; then
local dflag="-g"
else
local dflag="-O4"
fi
if test "$assembly" = yes; then
report $cc $src $3 $dflag -std=c11 -isystem "$to" -isystem "$gen" -isystem "arch/" -ffreestanding -nostdlib "-L$to" -masm=intel -fverbose-asm -S "-o$output.s"
else
report $cc $src $3 $dflag -std=c11 -isystem "$to" -isystem "$gen" -isystem "arch/" -ffreestanding -nostdlib "-L$to" "-o$output"
fi
}
say "commencing libk build $build at $(timestamp)"
# set -x
# get type data
mkdir -p $gen
|