ocaml/otherlibs/str/regex-0.12/Makefile.Mac

44 lines
1.4 KiB
Makefile
Raw Normal View History

# Makefile for regex.
#
# Copyright (C) 1992, 1993 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
version = 0.12
# You can define CPPFLAGS on the command line. Aside from system-specific
# flags, you can define:
# -d DEBUG to enable the compiled pattern disassembler and execution
# tracing; code runs substantially slower.
# -d EXTRACT_MACROS to use the macros EXTRACT_* (as opposed to
# the corresponding C procedures). If not -d DEBUG, the macros
# are used.
CPPFLAGS =
PPCC = mrc
PPCCOptions = -w 29,35 {cdbgflag}
DEFS = -d STDC_HEADERS -d STRING_H -d REGEX_MALLOC
default all <EFBFBD> regex.c regex.h
{PPCC} {PPCCOptions} {CPPFLAGS} {DEFS} regex.c -o regex.c.x
clean mostlyclean <EFBFBD>
delete -i regex.c.x
distclean <EFBFBD> clean
extraclean <EFBFBD> distclean