https://hal.archives-ouvertes.fr/hal-02487579
Tip revision: b34a952aad1b143e60e302df55a4f986ab904c42 authored by Software Heritage on 23 January 2007, 00:00:00 UTC
hal: Deposit 433 in collection hal
hal: Deposit 433 in collection hal
Tip revision: b34a952
Makefile
#######################################################################
# #
# OCamlP3l #
# #
# (C) 2004-2006 #
# Roberto Di Cosmo (dicosmo@dicosmo.org) #
# Zheng Li (zli@lip6.fr) #
# Pierre Weis (Pierre.Weis@inria.fr) #
# Francois Clement (Francois.Clement@inria.fr) #
# #
# 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,v 1.11 2007/01/24 07:34:50 weis Exp $
MAKEFILES_DIR = ..
include $(MAKEFILES_DIR)/makefile.application
BASESOURCE = toolbase
BASELIB = $(BASESOURCE:=.cmx)
TOOLSOURCE = ocamlp3lc.ml ocamlp3lopt.ml ocamlp3ltop.ml
TOOLS = $(TOOLSOURCE:.ml=)
SYSLIB = $(WITHUNIX)
.PHONY: all install uninstall clean depend
all: $(TOOLS)
ocamlp3lc: $(BASELIB) ocamlp3lc.cmx
$(CAMLCBIN) -o $@ $(SYSLIB) $(BASELIB) ocamlp3lc.cmx
ocamlp3lopt: $(BASELIB) ocamlp3lopt.cmx
$(CAMLCBIN) -o $@ $(SYSLIB) $(BASELIB) ocamlp3lopt.cmx
ocamlp3ltop: $(BASELIB) ocamlp3ltop.cmx
$(CAMLCBIN) -o $@ $(SYSLIB) $(BASELIB) ocamlp3ltop.cmx
install: $(TOOLS)
$(CP) $(TOOLS) $(PACKAGEBINDIR)
uninstall:
(cd $(PACKAGEBINDIR); $(RM) $(TOOLS))
depend:
clean::
$(RM) $(TOOLS)
include $(MAKEFILES_DIR)/makefile.common