You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sa...@hyperreal.org on 1997/10/23 01:31:26 UTC

cvs commit: apachen/src/support Makefile.tmpl

sameer      97/10/22 16:31:26

  Modified:    src/support Makefile.tmpl
  Log:
  Fix builds so that they depend on the .o files and use the .o files
  to build so that the right .o build rule is used.
  
  Submitted by:	Sameer Parekh
  Reviewed by: Dean Gaudet
  
  Revision  Changes    Path
  1.7       +9 -9      apachen/src/support/Makefile.tmpl
  
  Index: Makefile.tmpl
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/support/Makefile.tmpl,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -c -u -r1.6 -r1.7
  /usr/bin/diff: conflicting specifications of output style
  --- Makefile.tmpl	1997/10/12 01:19:01	1.6
  +++ Makefile.tmpl	1997/10/22 23:31:25	1.7
  @@ -15,18 +15,18 @@
   
   all: $(TARGETS)
   
  -htpasswd: htpasswd.c
  -	$(CC) $(CFLAGS) htpasswd.c -o htpasswd $(LIBS)
  +htpasswd: htpasswd.o
  +	$(CC) $(CFLAGS) htpasswd.o -o htpasswd $(LIBS)
   
  -htdigest: htdigest.c
  -	$(CC) $(CFLAGS) htdigest.c -o htdigest $(LIBS)
  +htdigest: htdigest.o
  +	$(CC) $(CFLAGS) htdigest.o -o htdigest $(LIBS)
   
  -rotatelogs: rotatelogs.c
  -	$(CC) $(INCLUDES) $(CFLAGS) rotatelogs.c -o rotatelogs
  +rotatelogs: rotatelogs.o
  +	$(CC) $(INCLUDES) $(CFLAGS) rotatelogs.o -o rotatelogs
   
  -logresolve: logresolve.c
  -	$(CC) $(INCLUDES) $(CFLAGS) logresolve.c -o logresolve $(LIBS)
  +logresolve: logresolve.o
  +	$(CC) $(INCLUDES) $(CFLAGS) logresolve.o -o logresolve $(LIBS)
   
   clean:
  -	rm -f $(TARGETS)
  +	rm -f $(TARGETS) *.o