fix: fix compilation from Cxx header with ./compiler
This commit is contained in:
parent
6ab07d237b
commit
3f99f774be
@ -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" ;;
|
||||||
|
Reference in New Issue
Block a user