diff options
Diffstat (limited to 'pages/Makefile')
-rw-r--r-- | pages/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pages/Makefile b/pages/Makefile index 3e913a8..fc312d6 100644 --- a/pages/Makefile +++ b/pages/Makefile @@ -34,6 +34,15 @@ all: libpages.a %.cpp: %.ecpp $(ECPPC) $(ECPPFLAGS) $(ECPPFLAGS_CPP) $< +# Dependencies: + +MAKEDEP = $(CXX) -MM -MG +DEPFILE = .dependencies +$(DEPFILE): Makefile $(OBJS:%.o=%.cpp) + @$(MAKEDEP) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.cpp) > $@ + +-include $(DEPFILE) + ### Targets: libpages.a: $(OBJS) |