1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
From 45e674f593410dc3b42efef6182efa9e28f6ac04 Mon Sep 17 00:00:00 2001
From: Thomas Preud'homme <thomas.preudhomme@celest.fr>
Date: Wed, 5 May 2010 20:52:09 +0200
Subject: Don't build Makefile.options if cleaning
Don't include Makefile.options if we are cleaning so that it is not created if
we are cleaning.
Origin: vendor
Forwarded: yes
Last-Update: 2010-05-05
---
src/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/Makefile b/src/Makefile
index 0e7c2b3..ff17486 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,4 +1,8 @@
+ifneq ($(MAKECMDGOALS),clean)
+ifneq ($(MAKECMDGOALS),distclean)
-include Makefile.options
+endif
+endif
CXX ?= g++
|