mirror of
https://github.com/Metabolix/HackBGRT.git
synced 2025-12-06 17:15:42 -08:00
Support compiling with MSYS2 tools in Windows
Windows and MSYS2 need csc parameters to start with "-", not "/". Now setup.exe can be compiled with the csc in MSYS2 mono package. The EFI binaries can already be compiled with MSYS2 clang & lld.
This commit is contained in:
2
Makefile
2
Makefile
@@ -62,7 +62,7 @@ src/GIT_DESCRIBE.cs: $(FILES_CS) $(FILES_C) $(FILES_H)
|
|||||||
$(file > $@,$(GIT_DESCRIBE_CS))
|
$(file > $@,$(GIT_DESCRIBE_CS))
|
||||||
|
|
||||||
setup.exe: $(FILES_CS) src/GIT_DESCRIBE.cs
|
setup.exe: $(FILES_CS) src/GIT_DESCRIBE.cs
|
||||||
csc /nologo /define:GIT_DESCRIBE /out:$@ $^
|
csc -nologo -define:GIT_DESCRIBE -out:$@ $^
|
||||||
|
|
||||||
certificate.cer pki:
|
certificate.cer pki:
|
||||||
@echo
|
@echo
|
||||||
|
|||||||
Reference in New Issue
Block a user