If --win32 is forced, RULESFILE is Rules.make.WIN32
This commit is contained in:
parent
f38cc57127
commit
423ba7b2cd
1 changed files with 8 additions and 3 deletions
11
setup
11
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
|
||||
|
|
Loading…
Add table
Reference in a new issue