mirror of
https://github.com/Metabolix/HackBGRT.git
synced 2026-03-30 23:03:14 -07:00
Reimplement the installer with C#
The new installer includes better error handling and automatic architecture detection to support both x86-64 and IA-32.
This commit is contained in:
7
Makefile
7
Makefile
@@ -13,7 +13,10 @@ FILES_H = $(wildcard src/*.h)
|
||||
.PHONY: all default
|
||||
|
||||
default: bootx64.efi
|
||||
all: bootx64.efi bootia32.efi
|
||||
all: bootx64.efi bootia32.efi setup.exe
|
||||
|
||||
setup.exe: src/Setup.cs
|
||||
mcs -out:$@ $^
|
||||
|
||||
bootx64.efi: CC_PREFIX = x86_64-w64-mingw32
|
||||
bootx64.efi: GNUEFI_ARCH = x86_64
|
||||
@@ -25,5 +28,5 @@ bootia32.efi: GNUEFI_ARCH = ia32
|
||||
bootia32.efi: $(FILES_C)
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS) -s
|
||||
|
||||
HackBGRT.tar.xz: bootx64.efi bootia32.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 setup.exe README.md README.efilib LICENSE
|
||||
tar cJf $@ --transform=s,^,HackBGRT/, $^
|
||||
|
||||
Reference in New Issue
Block a user