[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
autodependencies and make clean target
From: |
Martin d'Anjou |
Subject: |
autodependencies and make clean target |
Date: |
Wed, 8 Oct 2003 17:17:29 -0400 (EDT) |
Hi,
When I type make clean, make rebuilds the dependency files before
executing the commands in the clean target. I follow the methodology
described at the paulandlesley site.
the makefile structure is:
OBJS=...
<pattern-rules>
all: $(OBJS)
clean: (the clean target and its commands)
-include $(OBJS:.o=.d)
How can I avoid rebuilding all the dependencies when I only want to 'make
clean'?
Thanks,
Martin
- autodependencies and make clean target,
Martin d'Anjou <=