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