File: Makefile

package info (click to toggle)
ocamlnet 2.2.9-8
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 17,724 kB
  • ctags: 10,053
  • sloc: ml: 63,928; ansic: 1,973; makefile: 800; sh: 651
file content (15 lines) | stat: -rw-r--r-- 277 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.PHONY: all
all: fcgi_raw.fcgi fcgi_raw.opt

.SUFFIXES: .ml .fcgi .opt

.ml.opt:
	ocamlfind ocamlopt -o $@ -package cgi -linkpkg $<
	ln -s $@ $@.fcgi

.ml.fcgi:
	ocamlfind ocamlc -g -o $@ -package cgi -linkpkg $<

.PHONY: clean
clean:
	rm -f *.cmi *.cmo *.fcgi *.opt *.cmx *.o