diff options
author | Thies C. Arntzen <thies@php.net> | 1999-08-10 09:16:19 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 1999-08-10 09:16:19 +0000 |
commit | 63931ff4e84945cc4e6ac649fd4289b7aa5986a7 (patch) | |
tree | 7785936ad5491dbd04d62bd3f970d9e6a522b1b1 /regex | |
parent | 00763741254ae362e2ad87144b6bfba59573adbf (diff) | |
download | php-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.in | 6 |
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) |