summaryrefslogtreecommitdiff
path: root/regex
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>1999-08-10 09:16:19 +0000
committerThies C. Arntzen <thies@php.net>1999-08-10 09:16:19 +0000
commit63931ff4e84945cc4e6ac649fd4289b7aa5986a7 (patch)
tree7785936ad5491dbd04d62bd3f970d9e6a522b1b1 /regex
parent00763741254ae362e2ad87144b6bfba59573adbf (diff)
downloadphp-git-63931ff4e84945cc4e6ac649fd4289b7aa5986a7.tar.gz
you can now override the CFLAGS while doing make - eg:
make CFLAGS="-g"
Diffstat (limited to 'regex')
-rw-r--r--regex/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/regex/Makefile.in b/regex/Makefile.in
index d715a08eae..4561974b06 100644
--- a/regex/Makefile.in
+++ b/regex/Makefile.in
@@ -12,7 +12,8 @@ RANLIB=@RANLIB@
# Put -Dconst= in for a pre-ANSI compiler.
# Do not take -DPOSIX_MISTAKE out.
# REGCFLAGS isn't important to you (it's for my use in some special contexts).
-CFLAGS=-I$(srcdir) -I. -DPOSIX_MISTAKE @CFLAGS@
+CFLAGS=@CFLAGS@
+COMPILE=$(CC) $(CFLAGS) -I$(srcdir) -I. -DPOSIX_MISTAKE
# If you have a pre-ANSI compiler, put -o into MKHFLAGS. If you want
# the Berkeley __P macro, put -b in.
@@ -41,6 +42,9 @@ JUNKLINT=possible pointer alignment|null effect
.c.ih:
sh $(srcdir)/mkh $(MKHFLAGS) -p $< >$@
+.c.o:
+ $(COMPILE) -c $<
+
all lib: libregex.a
libregex.a: $(OBJPRODN)