mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
-lm flag to cc to compile math.h headers
This commit is contained in:
parent
2ddfa7ab0f
commit
e2174de5ae
@ -29,7 +29,7 @@ textype() { \
|
||||
case "$ext" in
|
||||
# Try to keep these cases in alphabetical order.
|
||||
[0-9]) preconv "$file" | refer -PS -e | groff -mandoc -T pdf > "$base".pdf ;;
|
||||
c) cc "$file" -o "$base" && "$base" ;;
|
||||
c) cc "$file" -o "$base" -lm && "$base" ;;
|
||||
cpp) g++ "$file" -o "$base" && "$base" ;;
|
||||
cs) mcs "$file" && mono "$base".exe ;;
|
||||
go) go run "$file" ;;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user