top_builddir = ../..
program_dir = samples/image
-DATAFILES = horse.png horse.jpg horse.bmp horse.gif horse.pcx horse.pnm horse.tif smile.xbm
+DATAFILES = horse.png horse.jpg horse.bmp horse.gif horse.pcx horse.pnm \
+ horse.tif horse.xpm smile.xbm horse.cur horse.ico
PROGRAM=image
-OBJECTS=$(PROGRAM).o
+OBJECTS =$(PROGRAM).o
+DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env
+@IF_GNU_MAKE@-include $(DEPFILES)