#
# Makefile for docview example (UNIX).
-top_srcdir = @top_srcdir@
+top_srcdir = @top_srcdir@/..
top_builddir = ../..
program_dir = samples/docview
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
+-include $(DEPFILES)