On Tue, 30 Jan 2007, Bang Jun-Young wrote:
It's quite annoying to see tons of ugly "gcc
-I. -I. -I../../include
-I../../include"
on the screen during build and in the log file thereafter, so...
[...]
+ifeq ($(TOPSRCDIR),$(TOPOBJDIR))
+ifeq ($(SRCDIR),.)
+INCLUDES = -I. -I$(TOPSRCDIR)/include $(EXTRAINCL)
'ifeq' is a GNU Make extension and thus the policy is to avoid it,
especially for purely cosmetic issues.
--
Francois Gouget <fgouget(a)free.fr>
http://fgouget.free.fr/
Nouvelle version : les anciens bogues ont été remplacés par de nouveaux.