X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=roguelike-client.do;h=af1234b2153b8623ecbe1f605fac4103bfd27f60;hb=refs%2Fheads%2F7drl;hp=675a4ee10f1fa5b4beb0885830a7d07941dc5506;hpb=5fd4be90f125e318a2fcaa0b92329511cb178f5a;p=plomrogue diff --git a/roguelike-client.do b/roguelike-client.do index 675a4ee..af1234b 100644 --- a/roguelike-client.do +++ b/roguelike-client.do @@ -1,6 +1,15 @@ # redo build file to build the executable "roguelike-client". -redo-ifchange build/build_template -TARGET=client -LIBRARY_LINKS=-lncurses -. ./build/build_template +# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3 +# or any later version. For details on its copyright, license, and warranties, +# see the file NOTICE in the root directory of the PlomRogue source package. + +redo-ifchange build/compiler_flags +. ./build/compiler_flags +mkdir -p build/client +mkdir -p build/common +for file in src/client/*.c src/common/*.c; do + file=build/${file#src/} + redo-ifchange ${file%.*}.o +done +gcc $CFLAGS -o $3 -g build/client/*.o build/common/*.o -lncurses