File: Makefile.gen

package info (click to toggle)
ocamltk 41-1
  • links: PTS
  • area: non-free
  • in suites: hamm, slink
  • size: 1,096 kB
  • ctags: 2,142
  • sloc: ansic: 4,385; ml: 4,095; makefile: 441; sh: 5
file content (17 lines) | stat: -rw-r--r-- 474 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
include ../Makefile.config

all: tk.ml .depend

tkgen.ml: ../Widgets.src ../compiler/tkcompiler
	cd ..; compiler/tkcompiler

tk.ml .depend: tkgen.ml ../support/report.ml ../builtin/builtin_*.ml
	(echo 'open Widget'; \
         echo 'open Protocol'; \
         echo 'open Support'; \
	 echo 'open Textvariable'; \
	 cat ../support/report.ml; \
	 cat ../builtin/builtin_*.ml; \
	 cat tkgen.ml; \
         cat ../builtin/builtina_*.ml) > tk.ml
	$(CAMLDEP) *.mli *.ml > .depend