1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

r18034: fixed build of libreplace outside of source directory

(This used to be commit 8c07569227)
This commit is contained in:
Andrew Tridgell 2006-09-04 12:36:06 +00:00 committed by Gerald (Jerry) Carter
parent f3cf9d4ef6
commit 7e97a15fa0

View File

@ -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