Changed the email addresses to francois@fleuret.org, changed the Makefile header.
[ircml.git] / Makefile
1
2 #########################################################################
3 # This program is free software: you can redistribute it and/or modify  #
4 # it under the terms of the version 3 of the GNU General Public License #
5 # as published by the Free Software Foundation.                         #
6 #                                                                       #
7 # This program is distributed in the hope that it will be useful, but   #
8 # WITHOUT ANY WARRANTY; without even the implied warranty of            #
9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      #
10 # General Public License for more details.                              #
11 #                                                                       #
12 # You should have received a copy of the GNU General Public License     #
13 # along with this program. If not, see <http://www.gnu.org/licenses/>.  #
14 #                                                                       #
15 # Written by and Copyright (C) Francois Fleuret                         #
16 # Contact <francois@fleuret.org> for comments & bug reports             #
17 #########################################################################
18
19 ARCHIVE_NAME = ircml_`date +%d-%m-%y`
20
21 OCAMLC=ocamlc
22
23 all:    ircml
24
25 %.cmi: %.mli
26         ${OCAMLC} -g -c $^
27
28 %.cmo: %.ml
29         ${OCAMLC} -g -c $^
30
31 ircml:  connection.cmi connection.cmo ircml.ml
32         ${OCAMLC} -g -o ircml unix.cma dynlink.cma connection.cmo ircml.ml
33
34 clean:
35         \rm *.cm? ircml
36
37 archive:
38         cd ..; tar zcvf $(ARCHIVE_NAME).tgz ircml/*.ml ircml/*.mli ircml/*.c ircml/Makefile ircml/LICENSE ircml/INSTALL