version 1.18, 1994/10/03 18:23:57
|
version 1.19, 1994/10/24 19:15:52
|
Line 27 FORTH_SRC = add.fs assert.fs blocks.fs b
|
Line 27 FORTH_SRC = add.fs assert.fs blocks.fs b
|
test2.fs tools.fs toolsext.fs vars.fs vt100.fs wordinfo.fs |
test2.fs tools.fs toolsext.fs vars.fs vt100.fs wordinfo.fs |
|
|
SOURCES = Makefile primitives primitives2c.el engine.c main.c io.c \ |
SOURCES = Makefile primitives primitives2c.el engine.c main.c io.c \ |
apollo68k.h decstation.h 386.h hppa.h sparc.h \ |
apollo68k.h decstation.h 386.h hppa.h sparc.h gforth.ds \ |
$(INCLUDES) $(FORTH_SRC) |
$(INCLUDES) $(FORTH_SRC) |
|
|
RCS_FILES = $(SOURCES) INSTALL ToDo model high-level |
RCS_FILES = $(SOURCES) INSTALL ToDo model high-level |
Line 40 OBJECTS = engine.o io.o main.o
|
Line 40 OBJECTS = engine.o io.o main.o
|
|
|
# things that need a working forth system to be generated |
# things that need a working forth system to be generated |
# this is used for antidependences, |
# this is used for antidependences, |
FORTH_GEN = primitives.i prim_labels.i prim_alias.4th kernl32l.fi kernl32b.fi |
FORTH_GEN = primitives.i prim_labels.i prim_alias.4th \ |
|
kernl32l.fi kernl32b.fi gforth.texi |
|
|
all: gforth aliases.fs |
all: gforth |
|
|
#from the gcc Makefile: |
#from the gcc Makefile: |
#"Deletion of files made during compilation. |
#"Deletion of files made during compilation. |
Line 56 all: gforth aliases.fs
|
Line 57 all: gforth aliases.fs
|
# `realclean' also deletes everything that could be regenerated automatically." |
# `realclean' also deletes everything that could be regenerated automatically." |
|
|
clean: |
clean: |
-rm $(GEN) |
-rm $(GEN) *.o *.s |
|
|
distclean: clean |
distclean: clean |
-rm machine.h machine.fs |
-rm machine.h machine.fs |
Line 104 aliases.fs: primitives.b prims2x.fs
|
Line 105 aliases.fs: primitives.b prims2x.fs
|
primitives.fs: primitives.b prims2x.fs |
primitives.fs: primitives.b prims2x.fs |
$(FORTH) prims2x.fs -e "s\" primitives.b\" ' output-forth process-file bye" >$@ |
$(FORTH) prims2x.fs -e "s\" primitives.b\" ' output-forth process-file bye" >$@ |
|
|
|
gforth.texi: gforth.ds primitives.b ds2texi.fs prims2x.fs |
|
$(FORTH) search-order.fs struct.fs debugging.fs ds2texi.fs prims2x.fs -e "s\" primitives.b\" ' register-doc process-file s\" gforth.ds\" r/o open-file throw ds2texi bye" >$@ |
|
|
|
gforth.dvi: gforth.texi |
|
tex gforth.texi |
|
|
#primitives.4th: primitives.b primitives2c.el |
#primitives.4th: primitives.b primitives2c.el |
# $(EMACS) -batch -load primitives2c.el -funcall make-forth |
# $(EMACS) -batch -load primitives2c.el -funcall make-forth |
|
|