X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad9edf45f116c0281b5efcfa0dd7b2fc2073908f..4e15d1caa03346c126015019c1fdf093033ef40b:/samples/Makefile.in?ds=sidebyside diff --git a/samples/Makefile.in b/samples/Makefile.in index 80f1032767..773632f955 100644 --- a/samples/Makefile.in +++ b/samples/Makefile.in @@ -2,71 +2,15 @@ # Makefile : Builds wxWindows samples for Unix. # +SAMPLES_SUBDIRS=@SAMPLES_SUBDIRS@ + all: - cp -u -r @top_srcdir@/samples .. - cd bombs; make - cd checklst; make - cd config; make - cd controls; make - cd dialogs; make - cd docview; make - cd docvwmdi; make - cd dynamic; make - cd fractal; make - cd grid; make - cd help; make - cd image; make - cd internat; make - cd layout; make - cd listctrl; make - cd memcheck; make - cd minifram; make - cd minimal; make - cd notebook; make - cd printing; make - cd proplist; make - cd resource; make - cd sashtest; make - cd splitter; make - cd text; make - cd toolbar; make - cd typetest; make - cd validate; make - cd treectrl; make - cd wxpoem; make - cd dnd; make - cd thread; make + @for d in $(SAMPLES_SUBDIRS); do (cd $$d && $(MAKE)); done clean: - cd bombs; make clean - cd checklst; make clean - cd config; make clean - cd controls; make clean - cd dialogs; make clean - cd docview; make clean - cd docvwmdi; make clean - cd dynamic; make clean - cd fractal; make clean - cd grid; make clean - cd help; make clean - cd image; make clean - cd internat; make clean - cd layout; make clean - cd listctrl; make clean - cd memcheck; make clean - cd minifram; make clean - cd minimal; make clean - cd notebook; make clean - cd printing; make clean - cd proplist; make clean - cd resource; make clean - cd sashtest; make clean - cd splitter; make clean - cd toolbar; make clean - cd typetest; make clean - cd validate; make clean - cd treectrl; make clean - cd wxpoem; make clean - cd dnd; make clean - cd thread; make clean + @for d in $(SAMPLES_SUBDIRS); do (cd $$d && $(MAKE) clean); done + +distclean: + @for d in $(SAMPLES_SUBDIRS); do (cd $$d && $(MAKE) distclean); done +.PHONY: all clean distclean