Revision ac16f1254c44816ee5631e2c9c7ed5546e6e127c authored by weis on 24 January 2007, 14:34:18 UTC, committed by weis on 24 January 2007, 14:34:18 UTC
1 parent d629e69
makefile.common
#######################################################################
# #
# OCamlP3l #
# #
# (C) 2004-2007 #
# Roberto Di Cosmo (dicosmo@dicosmo.org) #
# Zheng Li (zli@lip6.fr) #
# Pierre Weis (Pierre.Weis@inria.fr) #
# Francois Clement (Francois.Clement@inria.fr) #
# #
# Based on original Ocaml P3L System #
# (C) 1997 by #
# Roberto Di Cosmo (dicosmo@ens.fr) #
# Marco Danelutto (marcod@di.unipi.it) #
# Xavier Leroy (Xavier.Leroy@inria.fr) #
# Susanna Pelagatti (susanna@di.unipi.it) #
# #
# This program is free software; you can redistribute it and/or #
# modify it under the terms of the GNU Library General Public License #
# as published by the Free Software Foundation; either version 2 #
# of the License, or (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU Library General Public License for more details. #
# #
#######################################################################
# $Id: makefile.common,v 1.4 2007-01-23 15:50:04 weis Exp $
#
# Default rules
#
.SUFFIXES: .ml .mli .cmo .cmi .cmx .par .seq .gra .run
.mli.cmi:
$(CAMLCBYT) -c $<
.ml.cmo:
@if [ $(MODEL) = "thread" ]; then \
COMPFLAGS="-thread $(COMPFLAGS)"; \
fi; \
echo "$(CAMLCBYT) $$COMPFLAGS -c $<"; \
$(CAMLCBYT) $$COMPFLAGS -c $<
.ml.cmx:
@if [ $(MODEL) = "thread" ]; then \
COMPFLAGS="-thread $(COMPFLAGS)"; \
fi; \
echo "$(CAMLCBIN) $$COMPFLAGS -c $<"; \
$(CAMLCBIN) $$COMPFLAGS -c $<
clean::
$(RM) *.cm* *.o *~
sleep 1
$(TOUCH) .depend-rebuild
Computing file changes ...