#
# Makefile for minimal example (UNIX).
-top_srcdir = @top_srcdir@
+top_srcdir = @top_srcdir@/..
top_builddir = ../..
-
-VPATH = :$(top_srcdir)/samples/minimal
+program_dir = samples/minimal
PROGRAM=minimal
-OBJECTS=$(PROGRAM).o
+OBJECTS =$(PROGRAM).o
+DEPFILES=$(PROGRAM).d
+
+RESOPTIONS=-i $(top_srcdir)/$(program_dir) mondrian.r
+SETOPTIONS=-a C
include ../../src/makeprog.env
+@IF_GNU_MAKE@-include $(DEPFILES)