blob: bee2939db3664fe284094af3c214235da8dc63d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
!include ..\support\Makefile.common.nt
all: cTk.ml camltk.ml .depend
_tkgen.ml: ..\Widgets.src ..\compiler\tkcompiler.exe
cd .. & ..\..\boot\ocamlrun compiler/tkcompiler.exe -camltk -outdir camltk
# dependencies are broken: wouldn't work with gmake 3.77
cTk.ml camltk.ml .depend: _tkgen.ml ..\builtin\report.ml ..\compiler\pp.exe #../builtin/builtin_*.ml
type << > _cTk.ml
##define CAMLTK
include Camltkwrap
open Widget
open Protocol
open Textvariable
<<
type ..\builtin\report.ml >> _cTk.ml
type ..\builtin\builtin_*.ml >> _cTk.ml
type _tkgen.ml >> _cTk.ml
type << >> _cTk.ml
module Tkintf = struct
<<
type ..\builtin\builtini_*.ml >> _cTk.ml
type _tkigen.ml >> _cTk.ml
type << >> _cTk.ml
end (* module Tkintf *)
open Tkintf
<<
type ..\builtin\builtinf_*.ml >> _cTk.ml
type _tkfgen.ml >> _cTk.ml
..\..\..\boot\ocamlrun ..\compiler\pp.exe < _cTk.ml > cTk.ml
rm -f _cTk.ml
$(CAMLDEP) -I ..\support *.mli *.ml > .depend
clean:
rm -f modules .depend
|