-# WXXT base directory
-WXBASEDIR=@WXBASEDIR@
+#
+# File: makefile.unx
+# Author: Julian Smart
+# Created: 1998
+# Updated:
+# Copyright: (c) 1998 Julian Smart
+#
+# "%W% %G%"
+#
+# Makefile for docview 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/docview
-# define library name
-BIN_TARGET=test
-# define library sources
-BIN_SRC=\
-doc.cpp view.cpp docview.cpp
+PROGRAM=docview
-#define library objects
-BIN_OBJ=\
-doc.o view.o docview.o
+OBJECTS =$(PROGRAM).o doc.o view.o
+DEPFILES=$(PROGRAM).d doc.d view.d
-# additional things needed to link
-BIN_LINK=
+include ../../src/makeprog.env
-# additional things needed to compile
-ADD_COMPILE=
+@IF_GNU_MAKE@-include $(DEPFILES)
-# include the definitions now
-include ../../../template.mak