mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r18034: fixed build of libreplace outside of source directory
(This used to be commit 8c07569227
)
This commit is contained in:
parent
f3cf9d4ef6
commit
7e97a15fa0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user