sma/build.sh

10 lines
227 B
Bash
Raw Normal View History

2024-02-04 22:53:47 +03:00
#!/bin/bash
find . \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" \) -print0 | xargs -0 clang-format -i -style=file
gcc -O0 src/sma.c -o sma
gcc -O0 src/compiler.c -o compiler
chmod +X sma
chmod +X compiler