fix: fix compilation from Cxx header with ./compiler

This commit is contained in:
David 2020-09-29 00:35:36 +02:00
parent 6ab07d237b
commit 3f99f774be

View File

@ -60,7 +60,7 @@ for tool in $sucklesstools; do
done done
case "$file" in case "$file" in
*.c*|.h*) make && ./main ;; *.c*|*.h*) make && ./main ;;
*.mom) refer -PS -e "$file" | pdfmom > "$base.pdf" ;; *.mom) refer -PS -e "$file" | pdfmom > "$base.pdf" ;;
*.tex) texcompile "$base" ; texclear "$file" ;; *.tex) texcompile "$base" ; texclear "$file" ;;
*.py) python "$file" ;; *.py) python "$file" ;;