From 733acccc42692df25f3c92feea50e72d1dd2be17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20Kentt=C3=A4?= Date: Thu, 2 Jun 2016 22:53:23 +0300 Subject: [PATCH] Build IA-32 version --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 66ed1a7..ee6366c 100644 --- a/Makefile +++ b/Makefile @@ -10,8 +10,10 @@ GNUEFI_LIB = /usr/$(CC_PREFIX)/lib FILES_C = src/main.c src/util.c src/types.c src/config.c FILES_H = $(wildcard src/*.h) -.PHONY: all -all: bootx64.efi +.PHONY: all default + +default: bootx64.efi +all: bootx64.efi bootia32.efi bootx64.efi: CC_PREFIX = x86_64-w64-mingw32 bootx64.efi: GNUEFI_ARCH = x86_64 @@ -23,5 +25,5 @@ bootia32.efi: GNUEFI_ARCH = ia32 bootia32.efi: $(FILES_C) $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS) -s -HackBGRT.tar.xz: bootx64.efi config.txt splash.bmp install.bat uninstall.bat README.md README.efilib LICENSE +HackBGRT.tar.xz: bootx64.efi bootia32.efi config.txt splash.bmp install.bat uninstall.bat README.md README.efilib LICENSE tar cJf $@ --transform=s,^,HackBGRT/, $^