#
# Makefile for forty example (UNIX).
-top_srcdir = @top_srcdir@
+top_srcdir = @top_srcdir@/..
top_builddir = ../..
-program_dir = samples/forty
+program_dir = demos/forty
PROGRAM=forty
-OBJECTS=$(PROGRAM).o canvas.o card.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
+DEPFILES=$(PROGRAM).d canvas.d card.d game.d pile.d playerdg.d scoredg.d scorefil.d
include ../../src/makeprog.env
+@IF_GNU_MAKE@-include $(DEPFILES)