mirror of
https://github.com/Metabolix/HackBGRT.git
synced 2025-12-07 01:26:14 -08:00
Build IA-32 version
This commit is contained in:
8
Makefile
8
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_C = src/main.c src/util.c src/types.c src/config.c
|
||||||
FILES_H = $(wildcard src/*.h)
|
FILES_H = $(wildcard src/*.h)
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all default
|
||||||
all: bootx64.efi
|
|
||||||
|
default: bootx64.efi
|
||||||
|
all: bootx64.efi bootia32.efi
|
||||||
|
|
||||||
bootx64.efi: CC_PREFIX = x86_64-w64-mingw32
|
bootx64.efi: CC_PREFIX = x86_64-w64-mingw32
|
||||||
bootx64.efi: GNUEFI_ARCH = x86_64
|
bootx64.efi: GNUEFI_ARCH = x86_64
|
||||||
@@ -23,5 +25,5 @@ bootia32.efi: GNUEFI_ARCH = ia32
|
|||||||
bootia32.efi: $(FILES_C)
|
bootia32.efi: $(FILES_C)
|
||||||
$(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS) -s
|
$(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/, $^
|
tar cJf $@ --transform=s,^,HackBGRT/, $^
|
||||||
|
|||||||
Reference in New Issue
Block a user