summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/replace/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/lib/replace/Makefile.in b/source4/lib/replace/Makefile.in
index 4f1d2c6e22..9c16448b92 100644
--- a/source4/lib/replace/Makefile.in
+++ b/source4/lib/replace/Makefile.in
@@ -9,6 +9,8 @@ srcdir = @srcdir@
builddir = @builddir@
INSTALL = @INSTALL@
+CFLAGS=-I. -I$(srcdir) @CFLAGS@
+
OBJS = dlfcn.o getpass.o replace.o snprintf.o
all: libreplace.a
@@ -31,7 +33,7 @@ testsuite: libreplace.a $(TEST_OBJS)
.c.o:
@echo Compiling $*.c
@mkdir -p `dirname $@`
- $(CC) $(CFLAGS) -c $< -o $@
+ @$(CC) $(CFLAGS) -c $< -o $@
clean:
rm -f *.o *.a testsuite