[gforth] / gforth / Attic / Makefile  

gforth: gforth/Attic/Makefile

Diff for /gforth/Attic/Makefile between version 1.10 and 1.12

version 1.10, Fri Jul 29 11:16:20 1994 UTC version 1.12, Thu Aug 25 15:25:18 1994 UTC
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 
Line 27 
   
 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 35 
Line 35 
   
 # 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 kernal.fi  FORTH_GEN = primitives.i prim_labels.i prim_alias.4th kernl32l.fi kernl32b.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 
Line 61 
   
 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 \  kernl32l.fi:    main.fs search-order.fs cross.fs aliases.fs vars.fs add.fs \
                 errore.fs kernal.fs extend.fs tools.fs toolsext.fs \                  errore.fs kernal.fs extend.fs tools.fs toolsext.fs \
                 $(FORTH_GEN)                  machine32l.fs $(FORTH_GEN)
                 -cp kernal.32limg kernal.32limg.old                  -cp kernl32l.fi kernl32l.fi.old
                 $(FORTH) main.fs                  $(FORTH) -e 's" machine32l.fs" r/o open-file throw' main.fs
   
   kernl32b.fi:    main.fs search-order.fs cross.fs aliases.fs vars.fs add.fs \
                   errore.fs kernal.fs extend.fs tools.fs toolsext.fs \
                   machine32b.fs $(FORTH_GEN)
                   -cp kernl32b.fi kernl32b.fi.old
                   $(FORTH) -e 's" machine32b.fs" r/o open-file throw' main.fs
   
 engine.s:       engine.c primitives.i prim_labels.i machine.h $(INCLUDES)  engine.s:       engine.c primitives.i prim_labels.i machine.h $(INCLUDES)
                 $(GCC) $(CFLAGS) -S engine.c                  $(GCC) $(CFLAGS) -S engine.c
Line 93 
Line 98 
 #               $(EMACS) -batch -load primitives2c.el -funcall make-forth  #               $(EMACS) -batch -load primitives2c.el -funcall make-forth
   
 #GNU make default rules  #GNU make default rules
 % ::            RCS/%,v  #% ::           RCS/%,v
                 co $@  #               co $@
 %.o :           %.c $(INCLUDES)  #%.o :          %.c $(INCLUDES)
                 $(CC) $(CFLAGS) -c $< -o $@  #               $(CC) $(CFLAGS) -c $< -o $@
   


Generate output suitable for use with a patch program
Legend:
Removed from v.1.10  
changed lines
  Added in v.1.12

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help