home · contact · privacy
087edfdcc2329a1550b0cbdf5ed5fbd098562afc
[plomrogue] / build / build_template
1 redo-ifchange build/compiler_flags
2 . ./build/compiler_flags
3 mkdir -p build/$TARGET
4 mkdir -p build/common
5 for file in src/${TARGET}/*.c src/common/*.c; do
6   file=build/${file#src/}
7   redo-ifchange ${file%.*}.o
8 done
9 gcc $CFLAGS -o $3 -g build/${TARGET}/*.o build/common/*.o $LIBRARY_LINKS