]> git.wh0rd.org - dump.git/blobdiff - compat/lib/Makefile.in
Make configure understand CPPFLAGS=, CFLAGS=, LDFLAGS=...
[dump.git] / compat / lib / Makefile.in
index ee6e26b9b267bb10e2fceae32fe1e95df50d0bb5..cc909690775d6ec3940022cd4fe187cac675c1ad 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile.in,v 1.9 2003/03/31 09:42:57 stelian Exp $
+# $Id: Makefile.in,v 1.10 2003/05/08 21:11:39 stelian Exp $
 
 top_srcdir=    @top_srcdir@
 srcdir=                @srcdir@
@@ -7,11 +7,14 @@ top_builddir= ../..
 @MCONFIG@
 
 INC=           -I$(top_srcdir)/compat/include
-CFLAGS=                @CCOPTS@ -pipe $(OPT) $(GINC) $(INC) $(DEFS)
+ALL_CFLAGS=    @CPPFLAGS@ @CFLAGS@ @CCOPTS@ -pipe $(OPT) $(GINC) $(INC) $(DEFS)
 SRCS=          compaterr.c compatglob.c bylabel.c system.c rmtflags.c minilzo.c
 OBJS=          compaterr.o compatglob.o bylabel.o system.o rmtflags.o minilzo.o
 LIB=           libcompat.a
 
+.c.o:
+       $(CC) -c $(ALL_CFLAGS) $< -o $@
+
 all::          $(LIB)
 
 $(LIB):                $(OBJS)