~ubuntu-branches/ubuntu/trusty/coccinelle/trusty

« back to all changes in this revision

Viewing changes to tools/Makefile

  • Committer: Package Import Robot
  • Author(s): Євгеній Мещеряков
  • Date: 2012-08-19 20:40:52 UTC
  • mfrom: (7.2.8 experimental)
  • Revision ID: package-import@ubuntu.com-20120819204052-8cujknwy6cn8a6h6
Tags: 1.0.0~rc15.deb-1
* New upstream RC 
  - Do not build-depend on libsexplib-camlp4-dev and libextlib-ocaml-dev
    anymore

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
include ../Makefile.config
27
27
endif
28
28
 
 
29
OCAMLCFLAGS ?= -g
 
30
OPTFLAGS ?= -g
 
31
 
29
32
PROGS=spp gitgrep splitpatch extract_c_and_res #generate_dependencies
30
33
 
31
34
all: $(SUBDIRS) $(PROGS)
32
35
 
33
 
# for recursive make
34
 
all.opt: $(PROGS)
 
36
all.opt:
 
37
        @$(MAKE) $(PROGS) BUILD_OPT=yes
35
38
 
36
39
gitgrep: gitgrep.ml
37
40
        $(OCAMLOPT) -o gitgrep str.cmxa gitgrep.ml
61
64
LIBS=../commons/commons.cma ../globals/globals.cma \
62
65
     ../parsing_c/parsing_c.cma ../extra/extra.cma
63
66
 
64
 
OCAMLC_CMD=$(OCAMLC) -g -dtypes $(INCLUDE)
 
67
OCAMLC_CMD=$(OCAMLC) $(OCAMLCFLAGS) $(INCLUDE)
65
68
OCAMLOPT_CMD=$(OCAMLOPT) $(OPTFLAGS) $(INCLUDE)
66
69
OCAMLDEP_CMD=$(OCAMLDEP) $(INCLUDE)
67
70
OCAMLMKTOP_CMD=$(OCAMLMKTOP) -g -custom $(INCLUDE)
104
107
-include .depend
105
108
endif
106
109
endif
 
110
 
 
111
include ../Makefile.common