continue calling waitpid() while still reapingchildren (patch from
[rsync/rsync.git] / Makefile.in
index d9cabcb..ec8363b 100644 (file)
@@ -31,7 +31,9 @@ OBJS=$(OBJS1) $(OBJS2) $(DAEMON_OBJ) $(LIBOBJ) $(ZLIBOBJ)
 
 # note that the -I. is needed to handle config.h when using VPATH
 .c.o:
-       $(CC) -I. -I$(srcdir) $(CFLAGS) -c $< -o $@
+@OBJ_SAVE@
+       $(CC) -I. -I$(srcdir) $(CFLAGS) -c $< @CC_SHOBJ_FLAG@
+@OBJ_RESTORE@
 
 all: rsync
 
@@ -63,6 +65,9 @@ proto:
 clean:
        rm -f *~ $(OBJS) rsync 
 
+distclean: clean
+       rm -f config.h config.cache config.status Makefile
+
 
 # this target is really just for my use. It only works on a limited
 # range of machines and is used to produce a list of potentially