From cbf95362991b0b4c1c97d7e5115acce5be48ecca Mon Sep 17 00:00:00 2001 From: brad Date: Fri, 2 Apr 2010 12:52:11 +0000 Subject: [PATCH] --- utils/Makefile | 7 ++++--- utils/macro/Makefile | 5 +++++ utils/maker/Makefile | 6 ++++-- utils/showbin/Makefile | 3 +++ 4 files changed, 16 insertions(+), 5 deletions(-) diff --git a/utils/Makefile b/utils/Makefile index 143c462..fbebde5 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -1,6 +1,7 @@ -all: showbin +SUBDIRS = macro showbin maker + +all clean: + for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done -showbin: showbin.c - cc -o showbin showbin.c diff --git a/utils/macro/Makefile b/utils/macro/Makefile index 8375a40..446c2f3 100644 --- a/utils/macro/Makefile +++ b/utils/macro/Makefile @@ -1,3 +1,8 @@ +all: macro8x + macro8x: macro8x.c cc -o macro8x macro8x.c + +clean: + rm -f macro8x diff --git a/utils/maker/Makefile b/utils/maker/Makefile index 1a3ec05..5d9b212 100644 --- a/utils/maker/Makefile +++ b/utils/maker/Makefile @@ -1,7 +1,9 @@ - +# + +all: maker + maker: maker.c cc -o maker maker.c - clean: rm -rf maker diff --git a/utils/showbin/Makefile b/utils/showbin/Makefile index 143c462..28df05f 100644 --- a/utils/showbin/Makefile +++ b/utils/showbin/Makefile @@ -4,3 +4,6 @@ all: showbin showbin: showbin.c cc -o showbin showbin.c +clean: + rm -f showbin +