File: examplesmake

package info (click to toggle)
camlpdf 0.5-1
  • links: PTS, VCS
  • area: non-free
  • in suites: squeeze, wheezy
  • size: 1,516 kB
  • ctags: 2,689
  • sloc: ml: 18,229; ansic: 139; makefile: 139
file content (51 lines) | stat: -rw-r--r-- 845 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
export LIBDIRS = .
export LIBS = unix bigarray str camlpdf
export OCAMLOPT = ocamlopt
export OCAMLLC = ocamlopt
export OCAMLC = ocamlc

define PROJ_pdfhello
  SOURCES=pdfhello.ml
  RESULT=pdfhello
endef
export PROJ_pdfhello

define PROJ_pdfdecomp
  SOURCES=pdfdecomp.ml
  RESULT=pdfdecomp
endef
export PROJ_pdfdecomp

define PROJ_pdfmerge
  SOURCES=pdfmerge.ml
  RESULT=pdfmerge
endef
export PROJ_pdfmerge

define PROJ_pdfdraft
  SOURCES=pdfdraft.ml
  RESULT=pdfdraft
endef
export PROJ_pdfdraft

define PROJ_pdftest
  SOURCES=pdftest.ml
  RESULT=pdftest
endef
export PROJ_pdftest

define PROJ_pdfdecrypt
  SOURCES=pdfdecrypt.ml
  RESULT=pdfdecrypt
endef
export PROJ_pdfdecrypt

ifndef SUBPROJS
  export SUBPROJS = pdfhello pdfdecomp pdfmerge pdfdraft pdftest pdfdecrypt
endif

all: native-code

%:
	@make -f OCamlMakefile subprojs SUBTARGET=$@