Makefile: default rule builds via autodetection
misc/target: output 'help' system not detecteddb4
parent
fc1116d3f1
commit
06511db632
8
Makefile
8
Makefile
|
@ -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*.*
|
||||
|
|
|
@ -12,5 +12,6 @@ then
|
|||
elif [ \( `uname -o` = Cygwin \) -a \( `uname -m` = i686 \) ]
|
||||
then
|
||||
echo winnt-x86-`./misc/wordsize`
|
||||
else
|
||||
echo help
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue