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-06 05:20:41 -08:00
|
|
|
all: ocaml.exe
|
|
|
|
|
2001-11-06 04:36:24 -08:00
|
|
|
ocaml.exe: $(OBJS)
|
|
|
|
$(CC) $(CFLAGS) -o ocaml.exe $(OBJS) $(LIBS)
|
|
|
|
|
|
|
|
ocaml.res: ocaml.rc ocaml.ico
|
|
|
|
rc ocaml.rc
|
|
|
|
|
|
|
|
$(OBJS): inria.h inriares.h
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f ocaml.exe ocaml.res *.obj
|
|
|
|
|
2001-11-06 05:20:41 -08:00
|
|
|
install:
|
|
|
|
cp ocaml.exe $(PREFIX)
|
|
|
|
|
2001-11-06 04:36:24 -08:00
|
|
|
.SUFFIXES: .c .obj
|
|
|
|
|
|
|
|
.c.obj:
|
|
|
|
$(CC) $(CFLAGS) -c $*.c
|