#
# Makefile for docvwmdi example (UNIX).
-top_srcdir = @top_srcdir@
+top_srcdir = @top_srcdir@/..
top_builddir = ../..
program_dir = samples/docvwmdi
PROGRAM=docview
-OBJECTS=$(PROGRAM).o doc.o view.o
+OBJECTS =$(PROGRAM).o doc.o view.o
+DEPFILES=$(PROGRAM).d doc.d view.d
include ../../src/makeprog.env
+
+@IF_GNU_MAKE@-include $(DEPFILES)