38 lines
732 B
Makefile
38 lines
732 B
Makefile
!include ..\support\Makefile.common.nt
|
|
|
|
all: tk.ml .depend
|
|
|
|
tkgen.ml: ..\Widgets.src ..\compiler\tkcompiler
|
|
cd .. & ..\..\boot\ocamlrun compiler/tkcompiler
|
|
|
|
# dependencies are broken: wouldn't work with gmake 3.77
|
|
|
|
tk.ml .depend: tkgen.ml ..\builtin\report.ml #../builtin/builtin_*.ml
|
|
type << > tk.ml
|
|
open Widget
|
|
open Protocol
|
|
open Support
|
|
open Textvariable
|
|
<<
|
|
type ..\builtin\report.ml >> tk.ml
|
|
type ..\builtin\builtin_*.ml >> tk.ml
|
|
type tkgen.ml >> tk.ml
|
|
type << >> tk.ml
|
|
|
|
|
|
module Tkintf = struct
|
|
<<
|
|
type ..\builtin\builtini_*.ml >> tk.ml
|
|
type tkigen.ml >> tk.ml
|
|
type << >> tk.ml
|
|
end (* module Tkintf *)
|
|
|
|
|
|
open Tkintf
|
|
|
|
|
|
<<
|
|
type ..\builtin\builtinf_*.ml >> tk.ml
|
|
type tkfgen.ml >> tk.ml
|
|
$(LABLDEP) *.mli *.ml > .depend
|