2001-09-07 01:00:42 -07:00
|
|
|
# $Id$
|
|
|
|
|
|
|
|
include ../config/Makefile
|
|
|
|
|
|
|
|
SHELL=/bin/sh
|
|
|
|
|
|
|
|
INCLUDES=-I ../camlp4 -I ../boot -I ../odyl -I $(OTOP)/otherlibs/dynlink
|
2002-01-20 07:12:32 -08:00
|
|
|
OCAMLCFLAGS=-warn-error A $(INCLUDES)
|
2001-09-07 01:00:42 -07:00
|
|
|
LINKFLAGS=$(INCLUDES)
|
2003-07-10 05:28:35 -07:00
|
|
|
OBJS=ocpp.cmo
|
2001-09-07 01:00:42 -07:00
|
|
|
|
|
|
|
all: ocpp$(EXE)
|
|
|
|
|
|
|
|
ocpp$(EXE): $(OBJS)
|
|
|
|
$(OCAMLC) $(LINKFLAGS) ../boot/stdpp.cmo ../camlp4/quotation.cmo ../odyl/odyl.cma $(OBJS) ../odyl/odyl.cmo -linkall -o ocpp$(EXE)
|
|
|
|
|
|
|
|
clean::
|
2003-07-10 05:28:35 -07:00
|
|
|
rm -f *.cm[ioa] *.pp[io] *.o *.out *.bak .*.bak ocpp$(EXE)
|
2001-09-07 01:00:42 -07:00
|
|
|
|
|
|
|
install:
|
2003-07-10 05:28:35 -07:00
|
|
|
-$(MKDIR) "$(LIBDIR)/camlp4" "$(BINDIR)"
|
|
|
|
cp $(OBJS) "$(LIBDIR)/camlp4/."
|
|
|
|
cp ocpp$(EXE) "$(BINDIR)/."
|
2001-09-07 01:00:42 -07:00
|
|
|
|
|
|
|
depend:
|