File: Makefile

package info (click to toggle)
lablgtkmathview 0.7.8-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 332 kB
  • sloc: ml: 777; ansic: 177; makefile: 139; xml: 132
file content (20 lines) | stat: -rw-r--r-- 432 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
PACKAGE = lablgtkmathview lablgtk2.init
MLFLAGS =
OCAMLC = ocamlfind ocamlc $(MLFLAGS)
OCAMLOPT = ocamlfind ocamlopt $(MLFLAGS)
TMPDIR = .test

all: test
opt: test.opt

test: test.ml
	$(OCAMLC) -package "$(PACKAGE)" -linkpkg -predicates "" -o $@ test.ml

test.opt: test.ml
	$(OCAMLOPT) -package "$(PACKAGE)" -linkpkg -predicates "" -o $@ test.ml

clean:
	rm -f *.cm[iox] *.o test test.opt t1lib.log test.ps

distclean:
	rm Makefile