help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is -C @ magical?


From: Doug Konrad
Subject: Is -C @ magical?
Date: Tue, 21 Jan 2014 18:23:38 +0000

We are using the advanced VPATH method described in 
http://make.mad-scientist.net/multi-arch.html#advanced.

The makefile line:

MAKETARGET = $(MAKE) --no-print-directory -C $@ -f $(CURDIR)/Makefile \
               SRCDIR=$(CURDIR) $(MAKECMDGOALS)

has got me puzzled. When I use -C $@, the Makefile is found in CURDIR. However, 
if I use -C /.../some/other/path, Make doesn't look in CURDIR, it looks in the 
directory specified with -C. Is this correct?

Thanks
Doug



reply via email to

[Prev in Thread] Current Thread [Next in Thread]