Commit 8576397c authored by Wayne Davison's avatar Wayne Davison

Fix the building of mkrounding$(EXEEXT) when building outside the

source directory (provided by Art Haas).
parent c09af06d
......@@ -80,8 +80,8 @@ rounding.h: mkrounding$(EXEEXT)
./mkrounding$(EXEEXT) >rounding.h
mkrounding$(EXEEXT): mkrounding.c rsync.h
@sed '1,/^struct file_struct/d; /^}/,$$d' <rsync.h >mkrounding.h
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ mkrounding.c
@sed '1,/^struct file_struct/d; /^}/,$$d' <$(srcdir)/rsync.h >mkrounding.h
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ -I. $(srcdir)/mkrounding.c
@rm mkrounding.h
tls$(EXEEXT): $(TLS_OBJ)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment