# # Makefile : Builds wxWindows samples for Unix. # SAMPLES_SUBDIRS=@SAMPLES_SUBDIRS@ ALL_TARGETS := all clean distclean $(ALL_TARGETS): $(SAMPLES_SUBDIRS) # The use of both MAKECMDGOALS and .TARGETS here allows the same makefile to be # used both with GNU make and BSD make: only one of these variables will be # defined for the particular make program flavour. $(SAMPLES_SUBDIRS): $(MAKE) -C $@ $(MAKECMDGOALS) $(.TARGETS) .PHONY: $(ALL_TARGETS) $(SAMPLES_SUBDIRS)