summaryrefslogtreecommitdiff
path: root/pages/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pages/Makefile')
-rw-r--r--pages/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/pages/Makefile b/pages/Makefile
index 11b7ebe..8f718fe 100644
--- a/pages/Makefile
+++ b/pages/Makefile
@@ -41,10 +41,12 @@ all: libpages.a
MAKEDEP = $(CXX) -MM -MG
DEPFILE = .dependencies
-$(DEPFILE): Makefile $(OBJS:%.o=%.cpp) $(OBJS:%.o=%.ecpp)
+$(DEPFILE): Makefile $(OBJS:%.o=%.cpp) $(OBJS:%.o=%.ecpp)
@$(MAKEDEP) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.cpp) > $@
+ifneq ($(MAKECMDGOALS),clean)
-include $(DEPFILE)
+endif
### Targets: