[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to execute all the rules in a Makefile
From: |
Peng Yu |
Subject: |
How to execute all the rules in a Makefile |
Date: |
Sun, 15 Nov 2009 21:09:16 -0600 |
Suppose that I have the following Makefile, I have to have the first
rule in order to update all the other rules in the Makefile. Since I
want execute all the rules in the Makefile, I'm wondering if it is
possible to make the first rule implicit, so that I don't have to
write it in the Makefile.
.PHONY: all
all: file1 file2 file3 ....
<..many rules where file1 ... are targets>
- How to execute all the rules in a Makefile,
Peng Yu <=