Files
first/build.sh
2024-01-04 21:54:16 +01:00

16 lines
412 B
Bash

#!/usr/bin/env bash
mkdir build
cd build
set -e
gcc -o test_filesystem ../test/test_filesystem.c -Wno-write-strings
./test_filesystem
gcc -o test_array ../test/test_array.cpp -fno-exceptions -fno-rtti -Wno-write-strings
./test_array
gcc -o test_table ../test/test_table.cpp -fno-exceptions -fno-rtti -Wno-write-strings
./test_table
gcc -o compile_as_c ../test/main.c
./compile_as_c
#-Wno-writable-strings
cd ..