1 #**************************************************************************
2 #* *
3 #* OCaml *
4 #* *
5 #* Xavier Leroy, projet Cristal, INRIA Rocquencourt *
6 #* *
7 #* Copyright 1999 Institut National de Recherche en Informatique et *
8 #* en Automatique. *
9 #* *
10 #* All rights reserved. This file is distributed under the terms of *
11 #* the GNU Lesser General Public License version 2.1, with the *
12 #* special exception on linking described in the file LICENSE. *
13 #* *
14 #**************************************************************************
15
16 # Makefile for Raw_spacetime_lib
17
18 LIBNAME=raw_spacetime_lib
19 COBJS=spacetime_offline.$(O)
20 CAMLOBJS=raw_spacetime_lib.cmo
21
22 include ../Makefile.otherlibs.common
23
24 .PHONY: depend
25 depend:
26 ifeq "$(TOOLCHAIN)" "msvc"
27 $(error Dependencies cannot be regenerated using the MSVC ports)
28 else
29 $(CC) -MM $(OC_CPPFLAGS) *.c | sed -e 's/\.o/.$$(O)/g' > .depend
30 $(CAMLRUN) $(ROOTDIR)/boot/ocamlc -depend -slash *.mli *.ml >> .depend
31 endif
32
33 include .depend
34