2001-12-10 05:40:59 -08:00
|
|
|
#########################################################################
|
|
|
|
# #
|
|
|
|
# Objective Caml #
|
|
|
|
# #
|
|
|
|
# Xavier Leroy, projet Cristal, INRIA Rocquencourt #
|
|
|
|
# #
|
|
|
|
# Copyright 2001 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, with #
|
|
|
|
# the special exception on linking described in file ../LICENSE. #
|
|
|
|
# #
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# $Id$
|
|
|
|
|
2002-06-07 02:49:45 -07:00
|
|
|
include ../config/Makefile
|
2001-12-10 05:40:59 -08:00
|
|
|
|
2001-11-06 04:36:24 -08:00
|
|
|
CC=cl /nologo
|
|
|
|
CFLAGS=/MT -O /Zi
|
|
|
|
|
|
|
|
OBJS=startocaml.obj ocaml.res ocaml.obj menu.obj
|
|
|
|
|
|
|
|
LIBS=kernel32.lib advapi32.lib gdi32.lib user32.lib comdlg32.lib comctl32.lib
|
|
|
|
|
2001-11-20 05:45:37 -08:00
|
|
|
all: ocamlwin.exe
|
2001-11-06 05:20:41 -08:00
|
|
|
|
2001-11-20 05:45:37 -08:00
|
|
|
ocamlwin.exe: $(OBJS)
|
|
|
|
$(CC) $(CFLAGS) -o ocamlwin.exe $(OBJS) $(LIBS)
|
2001-11-06 04:36:24 -08:00
|
|
|
|
|
|
|
ocaml.res: ocaml.rc ocaml.ico
|
|
|
|
rc ocaml.rc
|
|
|
|
|
|
|
|
$(OBJS): inria.h inriares.h
|
|
|
|
|
|
|
|
clean:
|
2002-04-23 07:19:56 -07:00
|
|
|
rm -f ocamlwin.exe ocaml.res *.obj *.pdb ocamlwin.ilk
|
2001-11-06 04:36:24 -08:00
|
|
|
|
2001-11-06 05:20:41 -08:00
|
|
|
install:
|
2001-11-20 05:45:37 -08:00
|
|
|
cp ocamlwin.exe $(PREFIX)/OCamlWin.exe
|
2001-11-06 05:20:41 -08:00
|
|
|
|
2001-11-06 04:36:24 -08:00
|
|
|
.SUFFIXES: .c .obj
|
|
|
|
|
|
|
|
.c.obj:
|
|
|
|
$(CC) $(CFLAGS) -c $*.c
|