SUBDIRS := `find -maxdepth 1 -type d | sed "/.svn/d" | sed "1d"| sed "s/.////g"`
OUTPUT := ../bin
SUFFIX := _test
.PHONY: all clean distclean install $(SUBDIRS)
all:
echo $(SUBDIRS)
for subdir in $(SUBDIRS); do /
$(MAKE) -C $$subdir; /
done
clean:
for subdir in $(SUBDIRS); do /
$(MAKE) -C $$subdir clean; /
done
install: all
for subdir in $(SUBDIRS); do /
SUFFIX=$(SUFFIX);/
cp $$subdir/$$subdir$$SUFFIX $(OUTPUT)/ ; /
done
distclean: clean
rm -f $(OUTPUT)/*