diff --git a/.github/build/Windows/Launcher/Makefile.nmake b/.github/build/Windows/Launcher/Makefile.nmake new file mode 100644 index 0000000..b5dd2dd --- /dev/null +++ b/.github/build/Windows/Launcher/Makefile.nmake @@ -0,0 +1,20 @@ +CC = cl.exe +RC = rc.exe +LINK = link.exe + +CFLAGS = /O2 /MT /W3 /DUNICODE /D_UNICODE +LDFLAGS = /SUBSYSTEM:WINDOWS /BREPRO /OPT:REF /OPT:ICF + +all: launcher.exe + +launcher.exe: FlashGBX_Launcher.obj FlashGBX_Launcher.res + $(LINK) $(LDFLAGS) /OUT:$@ $** user32.lib shell32.lib kernel32.lib + +FlashGBX_Launcher.obj: FlashGBX_Launcher.c + $(CC) $(CFLAGS) /c $** /Fo$@ + +FlashGBX_Launcher.res: FlashGBX_Launcher.rc + $(RC) /fo$@ $** + +clean: + -del *.obj *.res launcher.exe *.exp *.lib \ No newline at end of file