From de0ee3187c8fffb52327f9a5680a3eafea872276 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 26 Mar 2004 15:19:11 +0000 Subject: New Makefile system --- progs/Makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 progs/Makefile (limited to 'progs/Makefile') diff --git a/progs/Makefile b/progs/Makefile new file mode 100644 index 00000000000..f925de5860b --- /dev/null +++ b/progs/Makefile @@ -0,0 +1,27 @@ +# progs/Makefile + +TOP = .. + +include $(TOP)/configs/current + +SUBDIRS = $(PROGRAM_DIRS) + + +default: $(TOP)/configs/current + @for dir in $(SUBDIRS) ; do \ + if [ -d $$dir ] ; then \ + pushd $$dir ; \ + make ; \ + popd ; \ + fi \ + done + + +clean: + @for dir in $(SUBDIRS) ; do \ + if [ -d $$dir ] ; then \ + pushd $$dir ; \ + make clean; \ + popd ; \ + fi \ + done -- cgit v1.2.3