#
# Makefile for richedit example (UNIX).
-top_srcdir = @top_srcdir@
+top_srcdir = @top_srcdir@/..
top_builddir = ../..
program_dir = samples/richedit
PROGRAM=wxLayout
-OBJECTS=$(PROGRAM).o kbList.o wxllist.o wxlparser.o wxlwindow.o
+OBJECTS =$(PROGRAM).o kbList.o wxllist.o wxlparser.o wxlwindow.o
+DEPFILES=$(PROGRAM).d kbList.d wxllist.d wxlparser.d wxlwindow.d
include ../../src/makeprog.env
+@IF_GNU_MAKE@-include $(DEPFILES)