use $CC in make
This commit is contained in:
parent
f56f102530
commit
f1d6e8e0a2
@ -3,5 +3,5 @@
|
||||
cd $(dirname "$0")
|
||||
mkdir -p ./.dynamic
|
||||
mkdir -p ./.temp
|
||||
gcc -Wno-unused-result -Wno-incompatible-pointer-types waveforms.c ../../tools/gifenc/gifenc.c -I../../tools -O2 -o ./.temp/waveforms
|
||||
$CC -Wno-unused-result -Wno-incompatible-pointer-types waveforms.c ../../tools/gifenc/gifenc.c -I../../tools -O2 -o ./.temp/waveforms
|
||||
./.temp/waveforms
|
||||
|
@ -2,6 +2,10 @@
|
||||
|
||||
set +e
|
||||
|
||||
# Settings:
|
||||
# =========
|
||||
export CC=cc
|
||||
|
||||
mkdir -p ./html/articles
|
||||
|
||||
./tools/main_page_generator.py ./articles | ./tools/mmd/build/multimarkdown > ./html/index.html
|
||||
@ -9,7 +13,7 @@ mkdir -p ./html/articles
|
||||
for d in ./articles/*/; do
|
||||
if [ -d "$d" ]; then
|
||||
if test -f "$d/make"; then
|
||||
"$d/make"
|
||||
("$d/make")
|
||||
fi
|
||||
if test -d "$d/.dynamic"; then
|
||||
mkdir -p "./html/articles/$(basename -- $d)"
|
||||
|
Loading…
Reference in New Issue
Block a user