#
# Makefile for wxPoem example (UNIX).
-top_srcdir = @top_srcdir@
+top_srcdir = @top_srcdir@/..
top_builddir = ../..
-program_dir = samples/wxpoem
+program_dir = demos/poem
DATAFILES = wxpoem.txt wxpoem.dat
PROGRAM=wxpoem
-OBJECTS=$(PROGRAM).o
+OBJECTS =$(PROGRAM).o
+DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env
+@IF_GNU_MAKE@-include $(DEPFILES)