1 # file: .../c++-examples/makefile
3 # Apple change: simple doesn't run (yet).
4 #SUBDIRS = test-lib simple any snmp
5 SUBDIRS = test-lib any snmp
7 #-------------------------------------------------------------------------------
9 .PHONY: implicit_default
15 cd $@ && $(MAKE) $(subtarget)
17 # the following hack is needed for older make versions (gmake doesn't need it):
19 @for dir in $(SUBDIRS); do\
20 test -f $$dir/dependencies || touch $$dir/dependencies;\
24 $(MAKE) subdirs subtarget=$@
28 for dir in $(SUBDIRS); do\
29 subfiles=`cd $$dir && $(MAKE) -s $@`;\
30 for file in $$subfiles; do\