summaryrefslogtreecommitdiffstats
path: root/c/do
blob: 6b8bc8aa8fa29ae9d4e2635f628703ace19f50e3 (plain)
1
2
3
4
5
6
7
8
9
#! /bin/sh
BROWN="\033[0;33m"
RESET="\033[0m"
for c in *.c
do
    echo -e "###> $BROWN${c}$RESET <###" && clang -pedantic -Wall -ldl $c -o ./bin && ./bin
    echo
done
rm ./bin