delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2011/07/01/14:14:49

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=mime-version:date:message-id:subject:from:to:content-type;
bh=yRw7DSAk5+x6gNbfq7kDbuQef3/ZSJiizAMXnDRQ0Xo=;
b=IvXTAdcMqAblOz5XsdJZqQxpHWRAuoReKoKeSE6p27lm3Og2gruwayV0OIio79YBKA
zaZJ4+0oMm4aoD2qE8nWg6r96OntpTod2LvaVSzokaoBDfHeIbrLc41LRz9qakcdw/Ur
TgfyEm1G2mozuU1Dp/zUhVDMDzB5TfJZr+eqM=
MIME-Version: 1.0
Date: Fri, 1 Jul 2011 21:14:44 +0300
Message-ID: <BANLkTinCp4WN-4+OUUqrCmk-y6UqxOuD_Q@mail.gmail.com>
Subject: [patch] remove gcc.opt and gcc-l.opt with make clean
From: Ozkan Sezer <sezeroz AT gmail DOT com>
To: djgpp-workers AT delorie DOT com
Reply-To: djgpp-workers AT delorie DOT com

Doing a make clean doesn't remove generated files gcc.opt
and gcc-l.opt which causes trouble if one uses a different gcc
later.  Following patch adds them to the clean target of the
src/makefile.

Regards.

Index: makefile
===================================================================
RCS file: /cvs/djgpp/djgpp/src/makefile,v
retrieving revision 1.11
diff -u -p -r1.11 makefile
--- makefile	11 Dec 2007 11:20:39 -0000	1.11
+++ makefile	1 Jul 2011 18:11:43 -0000
@@ -67,6 +67,7 @@ clean : misc.exe makemake.exe
 	-$(MAKE) -C ../zoneinfo/src clean
 	$(MAKE) -f makempty clean
 	./misc.exe rm gpp.opt
+	./misc.exe rm gcc.opt gcc-l.opt
 	./misc.exe rm makemake.exe copyrite.exe misc.exe

 config:


--
O.S.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019