File: Makefile

package info (click to toggle)
dag2html 1.01-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 128 kB
  • ctags: 213
  • sloc: ml: 1,471; makefile: 53
file content (26 lines) | stat: -rw-r--r-- 406 bytes parent folder | download
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
BINDIR=/usr/local/bin
MANDIR=/usr/local/share/man/man1
OCAMLC=ocamlc.opt
OCARGS=
OBJS=dag2html.cmo main.cmo

all: dag2html

install:
	cp dag2html $(BINDIR)/.
	cp dag2html.1 $(MANDIR)/.

dag2html: $(OBJS)
	$(OCAMLC) $(OBJS) -o dag2html

clean:
	rm -f dag2html *.cm[oi]

.SUFFIXES: .ml .cmo

.ml.cmo:
	camlp4r pa_ru.cmo $< -o $*.ppo
	$(OCAMLC) $(OCARGS) -c -impl $*.ppo
	rm -f $*.ppo

main.cmo: dag2html.cmo