Makefile: default rule builds via autodetection

misc/target: output 'help' system not detected
db4
Eduardo Cavazos 2008-02-21 20:37:18 -06:00
parent fc1116d3f1
commit 06511db632
2 changed files with 7 additions and 6 deletions

View File

@ -45,7 +45,10 @@ DLL_OBJS = $(PLAF_DLL_OBJS) \
EXE_OBJS = $(PLAF_EXE_OBJS)
default:
default: misc/wordsize
make `./misc/target`
help:
@echo "Run 'make' with one of the following parameters:"
@echo ""
@echo "freebsd-x86-32"
@ -161,9 +164,6 @@ factor: $(DLL_OBJS) $(EXE_OBJS)
misc/wordsize: misc/wordsize.c
gcc misc/wordsize.c -o misc/wordsize
auto: misc/wordsize
make `./misc/target`
clean:
rm -f vm/*.o
rm -f factor*.dll libfactor*.*

View File

@ -12,5 +12,6 @@ then
elif [ \( `uname -o` = Cygwin \) -a \( `uname -m` = i686 \) ]
then
echo winnt-x86-`./misc/wordsize`
else
echo help
fi