1 # redo build file to build the executable "roguelike-client".
3 # This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
4 # or any later version. For details on its copyright, license, and warranties,
5 # see the file NOTICE in the root directory of the PlomRogue source package.
7 redo-ifchange build/compiler_flags
8 . ./build/compiler_flags
11 for file in src/client/*.c src/common/*.c; do
12 file=build/${file#src/}
13 redo-ifchange ${file%.*}.o
15 gcc $CFLAGS -o $3 -g build/client/*.o build/common/*.o -lncurses