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
|
#***********************************************************************
#* *
#* 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.unix,v 1.5 2000/08/19 11:05:00 xleroy Exp $
OBJS=idlalloc.o comintf.o comerror.o
all: libcamlidl.a
libcamlidl.a: $(OBJS)
- rm -f $@
ar rc $@ $(OBJS)
$(RANLIB) $@
install:
cp camlidlruntime.h $(OCAMLINCDIR)/camlidlruntime.h
cp libcamlidl.a $(OCAMLLIB)/libcamlidl.a
cd $(OCAMLLIB); $(RANLIB) libcamlidl.a
clean:
rm -f *.a *.o
.SUFFIXES: .c .o
.c.o:
$(OCAMLC) -ccopt "$(CFLAGS)" $<
$(OBJS): camlidlruntime.h comstuff.h
depend:
|