version 1.10, 1994/07/29 11:16:20
|
version 1.11, 1994/08/19 17:47:19
|
Line 2
|
Line 2
|
|
|
RM = echo 'Trying to remove' |
RM = echo 'Trying to remove' |
GCC = gcc |
GCC = gcc |
FORTH = ansforth |
FORTH = gforth |
CC = gcc |
CC = gcc |
SWITCHES = -D_POSIX_VERSION -DUSE_FTOS -DDEFAULTBIN='"'`pwd`'"' -DDIRECT_THREADED -fcaller-saves #-DNDEBUG #turn off assertions |
SWITCHES = -D_POSIX_VERSION -DUSE_FTOS -DDEFAULTBIN='"'`pwd`'"' -DDIRECT_THREADED -fcaller-saves #-DNDEBUG #turn off assertions |
CFLAGS = -O4 -Wall -g $(SWITCHES) |
CFLAGS = -O4 -Wall -g $(SWITCHES) |
Line 27 SOURCES = Makefile primitives primitives
|
Line 27 SOURCES = Makefile primitives primitives
|
|
|
RCS_FILES = $(SOURCES) INSTALL ToDo model high-level |
RCS_FILES = $(SOURCES) INSTALL ToDo model high-level |
|
|
GEN = ansforth |
GEN = gforth |
|
|
GEN_PRECIOUS = primitives.i prim_labels.i primitives.b prim_alias.4th aliases.fs |
GEN_PRECIOUS = primitives.i prim_labels.i primitives.b prim_alias.4th aliases.fs |
|
|
Line 37 OBJECTS = engine.o io.o main.o
|
Line 37 OBJECTS = engine.o io.o main.o
|
# this is used for antidependences, |
# this is used for antidependences, |
FORTH_GEN = primitives.i prim_labels.i prim_alias.4th kernal.fi |
FORTH_GEN = primitives.i prim_labels.i prim_alias.4th kernal.fi |
|
|
all: ansforth aliases.fs |
all: gforth aliases.fs |
|
|
#from the gcc Makefile: |
#from the gcc Makefile: |
#"Deletion of files made during compilation. |
#"Deletion of files made during compilation. |
Line 61 realclean: distclean
|
Line 61 realclean: distclean
|
|
|
current: $(RCS_FILES) |
current: $(RCS_FILES) |
|
|
ansforth: $(OBJECTS) $(FORTH_GEN) |
gforth: $(OBJECTS) $(FORTH_GEN) |
-cp ansforth ansforth.old |
-cp gforth gforth.old |
$(GCC) $(LDFLAGS) $(OBJECTS) $(LDLIBS) -o $@ |
$(GCC) $(LDFLAGS) $(OBJECTS) $(LDLIBS) -o $@ |
|
|
kernal.fi: main.fs search-order.fs cross.fs aliases.fs vars.fs add.fs \ |
kernal.fi: main.fs search-order.fs cross.fs aliases.fs vars.fs add.fs \ |