home · contact · privacy
7DRL: Some population balancing.
[plomrogue] / roguelike-client.do
index 761fdfae4eafae03b38775f8b1ff5b68c5bc3c89..af1234b2153b8623ecbe1f605fac4103bfd27f60 100644 (file)
@@ -4,7 +4,12 @@
 # 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/build_template
-TARGET=client
-LIBRARY_LINKS=-lncurses
-. ./build/build_template
+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