Add the .exe extension when appropriate to the clean target.
robs [Sat, 1 Sep 2001 01:06:12 +0000 (01:06 +0000)]
cgi-fcgi/Makefile.in

index 2838486..0026958 100644 (file)
@@ -1,13 +1,14 @@
 #
 #  Makefile for CGI -> FCGI application
 #
-#  $Id: Makefile.in,v 1.3 2001/08/30 22:19:24 robs Exp $
+#  $Id: Makefile.in,v 1.4 2001/09/01 01:06:12 robs Exp $
 #
 
 SHELL = @SHELL@
 O     = @OBJEXT@
 L     = @L@
 CC    = @CC@
+EXEEXT  = @EXEEXT@
 
 INCLUDEDIR  = ../include
 CFLAGS  = @CCDEFS@ -I$(INCLUDEDIR)
@@ -30,7 +31,7 @@ cgi-fcgi: cgi-fcgi.${O} $(LIBFCGI)
        $(CC) $(CFLAGS) cgi-fcgi.${O} -o cgi-fcgi $(LIBFCGI) $(LIBS)
 
 clean:
-       rm -f *.${L} *.${O} core.* errs *~ \#* TAGS *.E a.out $(TARGETS)
+       rm -f *.${L} *.${O} core.* errs *~ \#* TAGS *.E a.out ${TARGETS:=$(EXEEXT)}
 
 # ----------------------------------------------------------------------------