home · contact · privacy
7DRL: Some population balancing.
[plomrogue] / roguelike-client.do
index 675a4ee10f1fa5b4beb0885830a7d07941dc5506..af1234b2153b8623ecbe1f605fac4103bfd27f60 100644 (file)
@@ -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