diff options
Diffstat (limited to 'rbutil/mkamsboot/Makefile')
-rw-r--r-- | rbutil/mkamsboot/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rbutil/mkamsboot/Makefile b/rbutil/mkamsboot/Makefile index 1a5ffd09f3..17baa1177c 100644 --- a/rbutil/mkamsboot/Makefile +++ b/rbutil/mkamsboot/Makefile | |||
@@ -2,6 +2,9 @@ | |||
2 | CFLAGS=-I../../tools/ucl/include -Wall | 2 | CFLAGS=-I../../tools/ucl/include -Wall |
3 | LIBUCL=../../tools/ucl/src/libucl.a | 3 | LIBUCL=../../tools/ucl/src/libucl.a |
4 | 4 | ||
5 | #change for releases | ||
6 | APPVERSION=`../../tools/version.sh` | ||
7 | |||
5 | ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN) | 8 | ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN) |
6 | OUTPUT=mkamsboot.exe | 9 | OUTPUT=mkamsboot.exe |
7 | CFLAGS+=-mno-cygwin | 10 | CFLAGS+=-mno-cygwin |
@@ -32,7 +35,7 @@ md5.o: md5.c md5.h | |||
32 | $(CC) $(CFLAGS) -c -o md5.o -W -Wall md5.c | 35 | $(CC) $(CFLAGS) -c -o md5.o -W -Wall md5.c |
33 | 36 | ||
34 | mkamsboot.o: mkamsboot.c dualboot.h md5.h | 37 | mkamsboot.o: mkamsboot.c dualboot.h md5.h |
35 | $(CC) $(CFLAGS) -c -o mkamsboot.o -W -Wall mkamsboot.c | 38 | $(CC) $(CFLAGS) -c -o mkamsboot.o -W -Wall mkamsboot.c -DVERSION=\"$(APPVERSION)\" |
36 | 39 | ||
37 | $(OUTPUT): mkamsboot.o md5.o dualboot.o $(LIBUCL) | 40 | $(OUTPUT): mkamsboot.o md5.o dualboot.o $(LIBUCL) |
38 | $(CC) $(CFLAGS) -o $(OUTPUT) mkamsboot.o md5.o dualboot.o $(LIBUCL) | 41 | $(CC) $(CFLAGS) -o $(OUTPUT) mkamsboot.o md5.o dualboot.o $(LIBUCL) |