mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-19 04:21:22 -04:00
changes to make VPATH work correctly, thanks to patl@cag.lcs.mit.edu
This commit is contained in:
1 parent
ac71984aae
commit
366bd9056c
2 files changed
+3
-2
No files matched your search
+2
-1
@@ -24,8 +24,9 @@ LIBOBJ=lib/getopt.o lib/fnmatch.o lib/zlib.o lib/compat.o
|
||||
OBJS1=rsync.o exclude.o util.o md4.o main.o checksum.o match.o syscall.o
|
||||
OBJS=$(OBJS1) flist.o io.o compat.o hlink.o token.o uidlist.o $(LIBOBJ)
|
||||
|
||||
# note that the -I. is needed to handle config.h when using VPATH
|
||||
.c.o:
|
||||
$(CC) -I$(srcdir) $(CFLAGS) -c $*.c -o $*.o
|
||||
$(CC) -I. -I$(srcdir) $(CFLAGS) -c $< -o $@
|
||||
|
||||
all: rsync
|
||||
|
||||
|
||||
+1
-1
@@ -67,4 +67,4 @@ AC_TRY_COMPILE([#include <sys/types.h>
|
||||
echo yes;AC_DEFINE(HAVE_UTIMBUF),
|
||||
echo no)
|
||||
|
||||
AC_OUTPUT(Makefile)
|
||||
AC_OUTPUT(Makefile lib/dummy)
|
||||
Reference in new issue
Block a user