2024-07-01 10:23:00 +00:00
|
|
|
#!/bin/sh
|
2024-07-09 12:43:55 +00:00
|
|
|
CFLAGS=-s -Os -Wextra -Wall -pedantic
|
|
|
|
CC=cc
|
2024-07-01 10:23:00 +00:00
|
|
|
|
2024-07-09 08:02:46 +00:00
|
|
|
for i in $(ls src); do
|
|
|
|
echo "CC $i"
|
2024-07-09 12:43:55 +00:00
|
|
|
$CC $CFLAGS -Iconfigs -Iinclude src/$i -o bin/$(basename $i .c)
|
2024-07-01 10:23:00 +00:00
|
|
|
done
|