-# WXXT base directory
-WXBASEDIR=@WXBASEDIR@
+#
+# File: Makefile.in
+# Author: Julian Smart
+# Created: 1998
+# Updated:
+# Copyright: (c) 1998 Julian Smart
+#
+# "%W% %G%"
+#
+# Makefile for forty 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/forty
-# define library name
-BIN_TARGET=forty
-# define library sources
-BIN_SRC=\
-canvas.cpp \
-card.cpp \
-forty.cpp \
-game.cpp \
-pile.cpp \
-playerdg.cpp \
-scoredg.cpp \
-scorefil.cpp
+PROGRAM=forty
-#define library objects
-BIN_OBJ=\
-canvas.o \
-card.o \
-forty.o \
-game.o \
-pile.o \
-playerdg.o \
-scoredg.o \
-scorefil.o
+OBJECTS=$(PROGRAM).o canvas.o card.o game.o pile.o playerdg.o scoredg.o scorefil.o
-# additional things needed to link
-BIN_LINK=
+include ../../src/makeprog.env
-# additional things needed to compile
-ADD_COMPILE=
-
-# include the definitions now
-include ../../../template.mak