#
# Makefile for drawing example (UNIX).
-top_srcdir = @top_srcdir@
+top_srcdir = @top_srcdir@/..
top_builddir = ../..
-
-VPATH = :$(top_srcdir)/samples/drawing
+program_dir = samples/drawing
PROGRAM=drawing
-OBJECTS=$(PROGRAM).o
+OBJECTS =$(PROGRAM).o
+DEPFILES=$(PROGRAM).d
+
+DATAFILES=pat4.bmp pat35.bmp pat36.bmp image.bmp mask.bmp
include ../../src/makeprog.env
+@IF_GNU_MAKE@-include $(DEPFILES)