File: Makefile.code

package info (click to toggle)
camlrpc 0.4.1-7
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,080 kB
  • ctags: 1,474
  • sloc: ml: 11,901; makefile: 592; sh: 345; ansic: 331
file content (20 lines) | stat: -rw-r--r-- 479 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
TOP_DIR = ../..
include $(TOP_DIR)/Makefile.rules

PACKAGES = rpc,rpc-auth-dh,rpc-auth-local,unix

OBJ = proto_aux.cmo proto_clnt.cmo proto_srv.cmo
XOBJ = $(OBJ:.cmo=.cmx)

all: proto.cma protoserver protoclient

protoserver: protoserver.cmo
	$(OCAMLC) -o protoserver -custom proto.cma protoserver.cmo -linkpkg

protoclient: protoclient.cmo
	$(OCAMLC) -o protoclient -custom proto.cma protoclient.cmo -linkpkg

proto.cma: $(OBJ)
	$(OCAMLC) -o proto.cma -a $(OBJ)

include depend