version 1.343, 2007/03/04 22:49:39
|
version 1.345, 2007/03/18 21:46:01
|
Line 641 check-nofast: gforth$(EXE) gforth.fi
|
Line 641 check-nofast: gforth$(EXE) gforth.fi
|
$(FORTHS) test/gforth-nofast.fs -e bye |
$(FORTHS) test/gforth-nofast.fs -e bye |
|
|
test/primtest.fi: test/primtest.fs mach32l.fs cross.fs |
test/primtest.fi: test/primtest.fs mach32l.fs cross.fs |
$(FORTHB) -e 's" mach32b.fs"' $(srcdir)/test/primtest.fs -e "save-cross $@ $(bindir)/gforth-$(VERSION) bye" |
$(FORTHB) -e 's" mach32l.fs"' $(srcdir)/test/primtest.fs -e "save-cross $@ $(bindir)/gforth-$(VERSION) bye" |
|
|
primtest: gforth gforth-native test/primtest.fi FORCE |
primtest: gforth gforth-native test/primtest.fi FORCE |
(echo rs|ENVVAR=bla ./gforth -i test/primtest.fi) && (echo rs|ENVVAR=bla ./gforth-native -i test/primtest.fi); echo $$? |
(echo rs|ENVVAR=bla ./gforth -i test/primtest.fi) && (echo rs|ENVVAR=bla ./gforth-native -i test/primtest.fi); echo $$? |
Line 653 bench: gforth-fast$(EXE) gforth.fi
|
Line 653 bench: gforth-fast$(EXE) gforth.fi
|
time $(FORTH_FAST) matrix.fs -e "main bye" |
time $(FORTH_FAST) matrix.fs -e "main bye" |
time $(FORTH_FAST) fib.fs -e "main bye" |
time $(FORTH_FAST) fib.fs -e "main bye" |
|
|
onebench: |
onebench one-bench: |
@echo 'sieve bubble matrix fib' |
$(FORTH_FAST) onebench.fs |
@echo -n " "`\time 2>&1 -f "%U" $(FORTH_FAST) siev.fs -e "main bye"` |
|
@echo -n " "`\time 2>&1 -f "%U" $(FORTH_FAST) -e "warnings off" bubble.fs -e "main bye"` |
all-bench allbench: gforth-fast$(EXE) gforth$(EXE) gforth-itc$(EXE) gforth-ditc$(EXE) gforth.fi |
@echo -n " "`\time 2>&1 -f "%U" $(FORTH_FAST) matrix.fs -e "main bye"` |
./gforth-fast --dynamic onebench.fs |
@echo " "`\time 2>&1 -f "%U" $(FORTH_FAST) fib.fs -e "main bye"` |
./gforth-fast --no-dynamic onebench.fs |
|
./gforth --dynamic onebench.fs |
all-bench: gforth-fast$(EXE) gforth$(EXE) gforth-itc$(EXE) gforth-ditc$(EXE) gforth.fi |
./gforth --no-dynamic onebench.fs |
@echo "*** gforth-fast dynamic:" |
./gforth-itc onebench.fs |
@$(MAKE) onebench ENGINE_FAST="./gforth-fast --dynamic" |
./gforth-ditc onebench.fs |
@echo "*** gforth-fast not dynamic:" |
|
@$(MAKE) onebench ENGINE_FAST="./gforth-fast --no-dynamic" |
|
@echo "*** gforth dynamic:" |
|
@$(MAKE) onebench ENGINE_FAST="./gforth --dynamic" |
|
@echo "*** gforth not dynamic:" |
|
@$(MAKE) onebench ENGINE_FAST="./gforth --no-dynamic" |
|
@echo "*** gforth-itc:" |
|
@$(MAKE) onebench ENGINE_FAST=./gforth-itc |
|
@echo "*** gforth-ditc:" |
|
@$(MAKE) onebench ENGINE_FAST=./gforth-ditc |
|
|
|
# ------------- Make forth images |
# ------------- Make forth images |
|
|
Line 801 gforth-prof$(EXE): engines
|
Line 791 gforth-prof$(EXE): engines
|
|
|
gforths: $(ENGINES) $(ENGINES_FAST) |
gforths: $(ENGINES) $(ENGINES_FAST) |
|
|
engines: FORCE $(FORTH_GEN_ENGINE) engine/Makefile |
engines: FORCE $(FORTH_GEN_ENGINE) engine/Makefile engine/config.h |
cd engine && $(MAKE) $(ENGINES) |
cd engine && $(MAKE) $(ENGINES) |
|
|
engines-fast: FORCE $(FORTH_GEN_ENGINE_FAST) engine/Makefile |
engines-fast: FORCE $(FORTH_GEN_ENGINE_FAST) engine/Makefile engine/config.h |
cd engine && $(MAKE) $(ENGINES_FAST) |
cd engine && $(MAKE) $(ENGINES_FAST) |
|
|
# ------------- additional C primitives |
# ------------- additional C primitives |