# ------------------------------------------------------------------------
.PHONY=all
- all: preForth runseedforthdemo
-all: preForth simpleForth forth runforth
++all: preForth seedForth seedForthDemo.seed seedForthInteractive.seed
+
-.PHONY=runforth
-runforth: ./forth hi.forth
- cat hi.forth - | ./forth
++.PHONY=test
++test: runseedforthdemo runseedforthinteractive
-.PHONY=runseedforth
-runseedforth: seedForth seedForthDemo.seed
+.PHONY=runseedforthdemo
+runseedforthdemo: seedForth seedForthDemo.seed
cat seedForthDemo.seed | ./seedForth
-.PHONY=test
-test: preForth.pre preForth-$(PLATFORM)-backend.pre load-$(PLATFORM)-preForth.fs
- cat preForth-$(PLATFORM)-backend.pre simpleForth.pre | $(HOSTFORTH) load-$(PLATFORM)-preForth.fs
-
-# preForth connected to stdin - output to stdout
-.PHONY=visible-bootstrap
-visible-bootstrap: preForth preForth-$(PLATFORM)-backend.pre preForth.pre
- cat preForth-$(PLATFORM)-backend.pre preForth.pre | ./preForth
-
-# ------------------------------------------------------------------------
-# i386 version MacOS and Linux
-# ------------------------------------------------------------------------
-ifeq ($(PLATFORM),C)
- UNIXFLAVOUR=stdC
- EXT=c
-else
- UNIXFLAVOUR=$(shell uname -s)
- EXT=asm
-endif
++.PHONY=runseedfortinteractive
++runseedforthinteractive: seedForth seedForthInteractive.seed
++ ./seed
+
+UNIXFLAVOUR=$(shell uname -s)
+EXT=asm
seedForth-i386.asm: seedForth-i386.pre preForth
cat seedForth-i386.pre | ./preForth >seedForth-i386.asm
.PHONY=clean
clean:
- rm -f *.asm *.o *.fas *.s *.c *.Darwin *.Linux preForthdemo preForth forth seedForth seedForthDemo.seed
- rm -f *.asm *.o *.fas *.s *.c *.Darwin *.Linux preForthdemo simpleForthDemo simpleForth preForth forth seedForth seedForthDemo.seed
++ rm -f *.asm *.o *.fas *.s *.c *.Darwin *.Linux preForthdemo preForth forth seedForth seedForthDemo.seed seedForthInteractive.seed