-# WXXT base directory
-WXBASEDIR=@WXBASEDIR@
+#
+# File: makefile.unx
+# Author: Julian Smart
+# Created: 1998
+# Updated:
+# Copyright: (c) 1998 Julian Smart
+#
+# "%W% %G%"
+#
+# Makefile for image example (UNIX).
-# set the OS type for compilation
-OS=@OS@
-# compile a library only
-RULE=bin
+top_srcdir = @top_srcdir@/..
+top_builddir = ../..
+program_dir = samples/image
-# define library name
-BIN_TARGET=image
-# define library sources
-BIN_SRC=\
-image.cpp
+DATAFILES = horse.png horse.jpg horse.bmp horse.gif horse.pcx horse.pnm \
+ horse.tif horse.xpm smile.xbm horse.cur horse.ico
-#define library objects
-BIN_OBJ=\
-image.o
+PROGRAM=image
-# additional things needed to link
-BIN_LINK=
+OBJECTS =$(PROGRAM).o
+DEPFILES=$(PROGRAM).d
-# additional things needed to compile
-ADD_COMPILE=
+include ../../src/makeprog.env
-# include the definitions now
-include ../../../template.mak
+@IF_GNU_MAKE@-include $(DEPFILES)