~exprez135/mountaen

ref: fddb17f6172871079425de17b132b5d1d66fc253 mountaen/src/build.sh -rwxr-xr-x 401 bytes
fddb17f6Nate Ijams Discourse, mirrors, and updates. 1 year, 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash

clang-format -i main.c
clang-format -i helpers.c

# Linux
# cc -std=c89 -DDEBUG -Wall -Wpedantic -Wshadow -Wextra -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Wvla -g -Og -fsanitize=address -fsanitize=undefined main.c -o main

# RPi
# tcc -Wall main.c -o main

# Plan9
# pcc main.c -o main

# macOS
clang main.c -o main

rm ../site/*

./main

rm ./main