File: Makefile.win32

package info (click to toggle)
camlidl 1.12-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,592 kB
  • sloc: ml: 5,238; ansic: 945; cpp: 908; makefile: 358; xml: 213; sh: 74
file content (44 lines) | stat: -rw-r--r-- 1,465 bytes parent folder | download | duplicates (3)
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
#***********************************************************************
#*                                                                     *
#*                              CamlIDL                                *
#*                                                                     *
#*            Xavier Leroy, projet Cristal, INRIA Rocquencourt         *
#*                                                                     *
#*  Copyright 1999 Institut National de Recherche en Informatique et   *
#*  en Automatique.  All rights reserved.  This file is distributed    *
#*  under the terms of the GNU Library General Public License.         *
#*                                                                     *
#***********************************************************************

#* $Id: Makefile.win32,v 1.7 2000-08-19 11:05:00 xleroy Exp $

CC=cl
CFLAGS=/nologo /Zi /MT /I$(OCAMLLIB)

OBJS=idlalloc.obj comintf.obj comerror.obj superror.obj \
  registry.obj dispatch.obj oletypes.obj

all: libcamlidl.lib cfactory.obj

libcamlidl.lib: $(OBJS)
	- rm -f $@
	lib /nologo /debugtype:CV /out:$@ $(OBJS)

install:
	cp camlidlruntime.h $(OCAMLLIB)/caml/camlidlruntime.h
	cp libcamlidl.lib $(OCAMLLIB)/libcamlidl.lib
	cp cfactory.obj $(OCAMLLIB)/cfactory.obj

clean:
	rm -f *.lib *.obj

.SUFFIXES: .c .cpp .obj

.c.obj:
	$(CC) $(CFLAGS) -c $<
.cpp.obj:
	$(CC) $(CFLAGS) -c $<

$(OBJS) cfactory.obj: camlidlruntime.h comstuff.h registry.h

depend: