blob: 018925bc2e0271d60b2c034ff8e2fc1067f286db (
plain) (
blame)
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
52
53
54
55
56
57
58
59
60
61
62
63
64
|
--- Makefile.in.orig 2014-04-12 01:43:31 UTC
+++ Makefile.in
@@ -81,7 +81,7 @@ CURSES_OOBJS = $(CURSES_CMX) $(CURSES_COBJS)
GSL_CMO = gsl/gsl_error.cmo gsl/gsl_blas.cmo gsl/gsl_complex.cmo gsl/gsl_matrix.cmo gsl/gsl_matrix_complex.cmo \
gsl/gsl_vector.cmo gsl/gsl_vector_complex.cmo gsl/gsl_vector_flat.cmo gsl/gsl_matrix_flat.cmo \
gsl/gsl_vector_complex_flat.cmo gsl/gsl_matrix_complex_flat.cmo gsl/gsl_vectmat.cmo \
- gsl/gsl_permut.cmo gsl/gsl_linalg.cmo gsl/gsl_fun.cmo
+ gsl/gsl_permut.cmo gsl/gsl_linalg.cmo gsl/gsl_fun.cmo gsl/gsl_sf.cmo gsl/gsl_math.cmo
GSL_CMX = $(GSL_CMO:.cmo=.cmx)
GSL_COBJS = gsl/mlgsl_error.o gsl/mlgsl_blas.o gsl/mlgsl_blas_complex.o gsl/mlgsl_complex.o gsl/mlgsl_blas_float.o \
gsl/mlgsl_blas_complex_float.o gsl/mlgsl_matrix_complex.o gsl/mlgsl_matrix_double.o gsl/mlgsl_matrix_float.o \
@@ -201,7 +201,7 @@ gsl-byte: $(GSL_BOBJS)
GSL_INCLUDES = -I ./gsl
GSL_BFLAGS = -g $(GSL_INCLUDES) -thread
GSL_OFLAGS = $(GSL_INCLUDES) -thread
-GSL_CFLAGS = @GSL_CFLAGS@ $(CPPFLAGS) $(CFLAGS) -DHAVE_INLINE -DHAVE_FENV -g -O2
+GSL_CFLAGS = @GSL_CFLAGS@ $(CPPFLAGS) $(CFLAGS) -DHAVE_INLINE -DHAVE_FENV
gsl/%.cmi : gsl/%.mli
$(OCAMLC) -c $(GSL_BFLAGS) $<
@@ -264,13 +264,10 @@ units/%.cmi : units/%.mli
units/%.cmo : units/%.ml
$(OCAMLC) -c $(UNITS_BFLAGS) $<
-units/%.o : units/%.ml
+units/%.o units/%.cmx : units/%.ml
$(OCAMLOPT) -c $(UNITS_OFLAGS) $<
-units/%.cmx : units/%.ml
- $(OCAMLOPT) -c $(UNITS_OFLAGS) $<
-
# generic build rules for toplevel directory
%.cmi : %.mli
$(OCAMLC) -c $(BFLAGS) $<
@@ -278,21 +275,20 @@ units/%.cmx : units/%.ml
%.cmo : %.ml
$(OCAMLC) -c $(BFLAGS) $<
-%.o : %.ml
- $(OCAMLOPT) -c $(OFLAGS) $<
+interface_draw.cmx: interface_draw.ml
+ $(OCAMLOPT) -c $(OFLAGS) -unsafe-string $<
-%.cmx : %.ml
+interface_main.cmx: interface_main.ml
+ $(OCAMLOPT) -c $(OFLAGS) -unsafe-string $<
+
+%.o %.cmx : %.ml
$(OCAMLOPT) -c $(OFLAGS) $<
%.ml : %.mll
$(OCAMLLEX) $<
-%.ml : %.mly
+%.ml %.mli : %.mly
$(OCAMLYACC) -v $<
-
-%.mli : %.mly
- $(OCAMLYACC) -v $<
-
# Emacs tags
|