summaryrefslogtreecommitdiff
path: root/ext/ereg/regex/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ereg/regex/Makefile.in')
-rw-r--r--ext/ereg/regex/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/ereg/regex/Makefile.in b/ext/ereg/regex/Makefile.in
index d715a08eae..4561974b06 100644
--- a/ext/ereg/regex/Makefile.in
+++ b/ext/ereg/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)