File: Makefile

package info (click to toggle)
netstring 0.10.1-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,000 kB
  • ctags: 895
  • sloc: ml: 8,389; xml: 416; makefile: 188; sh: 103
file content (26 lines) | stat: -rw-r--r-- 597 bytes parent folder | download
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
# Note: you need an appopriate toploop "ocamlfattop" to run the
# tests.

# 2nd note: "test_encoding.cgi" is a CGI script; you must invoke
# it through browser and WWW server.

test: test_recode
	ocamlfattop test_netencoding.ml
	ocamlfattop test_mimestring.ml
	ocamlfattop test_cgi.ml
	ocamlfattop test_neturl.ml
	./test_recode

test_recode: test_recode.ml
	ocamlc -custom -o test_recode unix.cma threads.cma str.cma \
		../netstring.cma ../netmappings_iso.cmo \
		-I .. -thread test_recode.ml

distclean: clean
	rm -f *~ test_recode

clean:
	rm -f *.cmi *.cmo *.cma *.cmx *.o *.a *.cmxa

CLEAN: