From 423ba7b2cdf4b74ba0049f2bae8e1d23b591d222 Mon Sep 17 00:00:00 2001 From: nehalmistry <> Date: Tue, 26 Mar 2002 21:50:13 +0000 Subject: [PATCH] If --win32 is forced, RULESFILE is Rules.make.WIN32 --- setup | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/setup b/setup index 0ace4eedc..ec5d01601 100755 --- a/setup +++ b/setup @@ -1,6 +1,11 @@ #!/bin/bash -RULESFILE=Rules.make +if [ "`echo $* | grep \"\-\-win32\"`" = "" ]; then + RULESFILE=Rules.make +else + RULESFILE=Rules.make.WIN32 +fi + BEOS_CONFIGFILE=/boot/home/config/settings/FreeCraft/FreeCraft.cfg cat << .. > $RULESFILE @@ -839,14 +844,14 @@ echo " @\$(TOPDIR)/tools/aledoc \$< | \$(DOCIFY) > \$*-h.doc 2>/dev/null" >> $RU # Final comments echo -echo "Done generating Rules.make." +echo "Done generating $RULESFILE." echo -n "Would you like to compile it now? (y) " read ANSWER case $ANSWER in [nN]) echo - echo "Done generating Rules.make. Type '$MAKE' to compile!" + echo "Done generating $RULESFILE. Type '$MAKE' to compile!" ;; *) $MAKE depend