首页 > 代码库 > 编译所有C源码

编译所有C源码

#!/bin/sh
#****************************************************************#
# ScriptName: gccall.sh
# Function: compile *.c in current dir
#***************************************************************#
for file in `ls *.c`
do
    gcc $file -lggw -o ${file%.*}
done