[Top][All Lists]

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

How to refer to the current directory (.)?

From: Peng Yu
Subject: How to refer to the current directory (.)?
Date: Mon, 1 Feb 2010 22:28:32 -0600

I have the following makefile, by which I want it to touch the current
directory if the file 'a' is changed. It seems to be working. But I
want to make sure if '.' has some special meaning in make (by simply
looking though the index, I don't find any special meaning). Could
somebody let me know?

$ cat Makefile
.PHONY: all

all: .

.: a
        touch $@

reply via email to

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