home · contact · privacy
Update testing script to stomach previous commit's changes.
[plomrogue] / build / build_template
1 # This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
2 # or any later version. For details on its copyright, license, and warranties,
3 # see the file NOTICE in the root directory of the PlomRogue source package.
4
5 redo-ifchange build/compiler_flags
6 . ./build/compiler_flags
7 mkdir -p build/$TARGET
8 mkdir -p build/common
9 for file in src/${TARGET}/*.c src/common/*.c; do
10   file=build/${file#src/}
11   redo-ifchange ${file%.*}.o
12 done
13 gcc $CFLAGS -o $3 -g build/${TARGET}/*.o build/common/*.o $LIBRARY_LINKS