diff options
Diffstat (limited to 'rbutil/mkamsboot')
-rw-r--r-- | rbutil/mkamsboot/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/rbutil/mkamsboot/Makefile b/rbutil/mkamsboot/Makefile index a5ab42157c..12058ecab8 100644 --- a/rbutil/mkamsboot/Makefile +++ b/rbutil/mkamsboot/Makefile | |||
@@ -5,6 +5,10 @@ LIBUCL=../../tools/ucl/src/libucl.a | |||
5 | #change for releases | 5 | #change for releases |
6 | APPVERSION=`../../tools/version.sh` | 6 | APPVERSION=`../../tools/version.sh` |
7 | 7 | ||
8 | ifndef V | ||
9 | SILENT = @ | ||
10 | endif | ||
11 | |||
8 | ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN) | 12 | ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN) |
9 | OUTPUT=mkamsboot.exe | 13 | OUTPUT=mkamsboot.exe |
10 | CFLAGS+=-mno-cygwin | 14 | CFLAGS+=-mno-cygwin |
@@ -50,7 +54,7 @@ $(OUT)/libmkamsboot.o: mkamsboot.c dualboot.h md5.h | |||
50 | $(CC) $(CFLAGS) -DLIB -c -o $(OUT)/libmkamsboot.o -W -Wall mkamsboot.c | 54 | $(CC) $(CFLAGS) -DLIB -c -o $(OUT)/libmkamsboot.o -W -Wall mkamsboot.c |
51 | 55 | ||
52 | libmkamsboot$(RBARCH).a: $(OUT) $(OUT)/libmkamsboot.o $(OUT)/md5.o $(OUT)/dualboot.o | 56 | libmkamsboot$(RBARCH).a: $(OUT) $(OUT)/libmkamsboot.o $(OUT)/md5.o $(OUT)/dualboot.o |
53 | $(AR) ruv libmkamsboot$(RBARCH).a $(OUT)/libmkamsboot.o $(OUT)/md5.o $(OUT)/dualboot.o | 57 | $(AR) ru libmkamsboot$(RBARCH).a $(OUT)/libmkamsboot.o $(OUT)/md5.o $(OUT)/dualboot.o |
54 | 58 | ||
55 | # some trickery to build ppc and i386 from a single call | 59 | # some trickery to build ppc and i386 from a single call |
56 | ifeq ($(RBARCH),) | 60 | ifeq ($(RBARCH),) |
@@ -72,4 +76,5 @@ clean: | |||
72 | 76 | ||
73 | build$(RBARCH): | 77 | build$(RBARCH): |
74 | @echo MKDIR build$(RBARCH) | 78 | @echo MKDIR build$(RBARCH) |
75 | $(SILENT)mkdir build$(RBARCH) \ No newline at end of file | 79 | $(SILENT)mkdir build$(RBARCH) |
80 | |||