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