diff options
author | Brian Paul <[email protected]> | 2004-03-26 15:19:11 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-03-26 15:19:11 +0000 |
commit | de0ee3187c8fffb52327f9a5680a3eafea872276 (patch) | |
tree | 69ca2969c64ddd79910f0783639d4c7bd65df792 /progs/Makefile | |
parent | a70ad91209b08ebe7122ace6d6656b11d9b04542 (diff) |
New Makefile system
Diffstat (limited to 'progs/Makefile')
-rw-r--r-- | progs/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
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 |