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
|
2004-11-30 10:57:04 -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)
|
2004-05-12 08:22:48 -07:00
|
|
|
$(OCAMLC) $(LINKFLAGS) ../boot/stdpp.cmo ../camlp4/reloc.cmo ../camlp4/quotation.cmo ../odyl/odyl.cma $(OBJS) ../odyl/odyl.cmo -linkall -o ocpp$(EXE)
|
2001-09-07 01:00:42 -07:00
|
|
|
|
|
|
|
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:
|