fixed. Support buulding in 1 binary
This commit is contained in:
parent
f8dd7660ae
commit
7d0207ace2
58 changed files with 251 additions and 434 deletions
4
build.sh
4
build.sh
|
@ -1,6 +1,8 @@
|
|||
#!/bin/sh
|
||||
CFLAGS=-s -Os -Wextra -Wall -pedantic
|
||||
CC=cc
|
||||
|
||||
for i in $(ls src); do
|
||||
echo "CC $i"
|
||||
cc -s -Os -Wextra -Wall -pedantic -I. -Iinclude src/$i -o bin/$(basename $i .c)
|
||||
$CC $CFLAGS -Iconfigs -Iinclude src/$i -o bin/$(basename $i .c)
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue