summaryrefslogtreecommitdiff
path: root/rbutil
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/mkamsboot/Makefile9
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
6APPVERSION=`../../tools/version.sh` 6APPVERSION=`../../tools/version.sh`
7 7
8ifndef V
9SILENT = @
10endif
11
8ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN) 12ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN)
9OUTPUT=mkamsboot.exe 13OUTPUT=mkamsboot.exe
10CFLAGS+=-mno-cygwin 14CFLAGS+=-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
52libmkamsboot$(RBARCH).a: $(OUT) $(OUT)/libmkamsboot.o $(OUT)/md5.o $(OUT)/dualboot.o 56libmkamsboot$(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
56ifeq ($(RBARCH),) 60ifeq ($(RBARCH),)
@@ -72,4 +76,5 @@ clean:
72 76
73build$(RBARCH): 77build$(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