File: Makefile.xrules

package info (click to toggle)
ocamlnet 4.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 51,764 kB
  • ctags: 16,446
  • sloc: ml: 148,419; ansic: 10,989; sh: 1,885; makefile: 1,355
file content (21 lines) | stat: -rw-r--r-- 420 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Additional rules for the examples:

OCAMLRPCGEN = ocamlfind rpc-generator/ocamlrpcgen

.SUFFIXES: .x .astamp .cstamp .sstamp .s2stamp

.x.astamp:
	$(OCAMLRPCGEN) -aux $(RPCGEN_AUX_OPTIONS) $<
	touch $@

.x.cstamp:
	$(OCAMLRPCGEN) -clnt $(RPCGEN_CLIENT_OPTIONS) $<
	touch $@

.x.sstamp:
	$(OCAMLRPCGEN) -srv $(RPCGEN_SERVER_OPTIONS) $<
	touch $@

.x.s2stamp:
	$(OCAMLRPCGEN) -srv2 $(RPCGEN_SERVER_OPTIONS) $<
	touch $@