# Generated automatically from Makefile.in by configure.
# 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:
#   -DREGEX_MALLOC to use malloc/realloc/free instead of alloca.
#   -DDEBUG to enable the compiled pattern disassembler and execution
#           tracing; code runs substantially slower.
#   -DEXTRACT_MACROS to use the macros EXTRACT_* (as opposed to
#           the corresponding C procedures).  If not -DDEBUG, the macros
#           are used.
CPPFLAGS = 

# Likewise, you can override CFLAGS to optimize, use -Wall, etc.
#CFLAGS = -O3 -mno-cygwin
CFLAGS = -O3

# Ditto for LDFLAGS and LOADLIBES.
# LDFLAGS = -mno-cygwin
LDFLAGS =
LOADLIBES =

srcdir = .
VPATH = .

CC = gcc
DEFS =  -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1

SHELL = /bin/sh

default all:: libregex.a
.PHONY: default all

regex.o: regex.c regex.h
	$(CC) $(CFLAGS) $(CPPFLAGS) $(DEFS) -I. -I$(srcdir) -c $<

libregex.a: regex.o
	ar cru $@ $<

clean mostlyclean::
	rm -f *.o *.a

distclean:: clean
	rm -f Makefile config.status

extraclean:: distclean
	rm -f patch* *~* *\#* *.orig *.rej *.bak core a.out


syntax highlighted by Code2HTML, v. 0.9.1