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