diff --git a/articles/oscillators/make b/articles/oscillators/make index a5899ec..3ba148c 100755 --- a/articles/oscillators/make +++ b/articles/oscillators/make @@ -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 diff --git a/compile.sh b/compile.sh index ba7d3e6..fc922d3 100755 --- a/compile.sh +++ b/compile.sh @@ -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)"