X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/70f7a477cb1aabfd6351a2a0d0555faf96c61dff..7b1279006496ba3251a755bcef91301ad107bb78:/demos/poem/Makefile.in

diff --git a/demos/poem/Makefile.in b/demos/poem/Makefile.in
index 82dc4a0bfb..1485c961ce 100644
--- a/demos/poem/Makefile.in
+++ b/demos/poem/Makefile.in
@@ -9,7 +9,7 @@
 #
 # Makefile for wxPoem example (UNIX).
 
-top_srcdir = @top_srcdir@
+top_srcdir = @top_srcdir@/..
 top_builddir = ../..
 program_dir = demos/poem
 
@@ -17,7 +17,9 @@ 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)