| |
|
| RCS_FILES = ToDo model high-level |
RCS_FILES = ToDo model high-level |
| |
|
| GEN = gforth$(EXE) gforth-ditc$(EXE) gforth-fast$(EXE) gforth-itc$(EXE) gforth-prof$(EXE) kernel/version.fs |
GEN = gforth$(EXE) gforth-ditc$(EXE) gforth-fast$(EXE) gforth-native$(EXE) gforth-itc$(EXE) gforth-prof$(EXE) kernel/version.fs |
| |
|
| # things that need a working forth system to be generated |
# things that need a working forth system to be generated |
| FORTH_GEN_ENGINE=engine/prim.i engine/prim_lab.i engine/prim_names.i engine/prim_superend.i engine/peephole.i engine/profile.i |
FORTH_GEN_ENGINE=engine/prim.i engine/prim_lab.i engine/prim_names.i engine/prim_superend.i engine/peephole.i engine/profile.i |
| |
|
| clean: mostlyclean |
clean: mostlyclean |
| -$(RM) -rf $(GEN) engine/gforth$(EXE) \ |
-$(RM) -rf $(GEN) engine/gforth$(EXE) \ |
| engine/gforth-fast$(EXE) engine/gforth-itc$(EXE) \ |
engine/gforth-fast$(EXE) engine/gforth-native$(EXE) engine/gforth-itc$(EXE) \ |
| engine/gforth-ditc$(EXE) engine/gforth-prof$(EXE) \ |
engine/gforth-ditc$(EXE) engine/gforth-prof$(EXE) \ |
| *.o engine/*.o arch/*/*.o version |
*.o engine/*.o arch/*/*.o version |
| |
|
| $(CP) engine/$@ $@ |
$(CP) engine/$@ $@ |
| @GFORTHFAST_EXE@ |
@GFORTHFAST_EXE@ |
| |
|
| |
gforth-native$(EXE): engines |
| |
$(CP) engine/$@ $@ |
| |
#@GFORTHX_EXE@ |
| |
|
| gforth-itc$(EXE): engines |
gforth-itc$(EXE): engines |
| $(CP) engine/$@ $@ |
$(CP) engine/$@ $@ |
| @GFORTHITC_EXE@ |
@GFORTHITC_EXE@ |
| gforth-prof$(EXE): engines |
gforth-prof$(EXE): engines |
| $(CP) engine/$@ $@ |
$(CP) engine/$@ $@ |
| |
|
| gforths: gforth$(EXE) gforth-fast$(EXE) gforth-itc$(EXE) gforth-ditc$(EXE) gforth-prof$(EXE) |
gforths: gforth$(EXE) gforth-fast$(EXE) gforth-native$(EXE) gforth-itc$(EXE) gforth-ditc$(EXE) gforth-prof$(EXE) |
| |
|
| engines: FORCE $(FORTH_GEN_ENGINE) engine/Makefile |
engines: FORCE $(FORTH_GEN_ENGINE) engine/Makefile |
| cd engine && $(MAKE) gforth$(EXE) gforth-fast$(EXE) gforth-itc$(EXE) gforth-ditc$(EXE) gforth-prof$(EXE) |
cd engine && $(MAKE) gforth$(EXE) gforth-fast$(EXE) gforth-native$(EXE) gforth-itc$(EXE) gforth-ditc$(EXE) gforth-prof$(EXE) |
| |
|
| # ------------- additional C primitives |
# ------------- additional C primitives |
| |
|