mirror of
https://github.com/pbatard/rufus.git
synced 2024-08-14 23:57:05 +00:00
[mingw] improved automake/autoconf files
* also renamed standalone makefile from mf to mkf * also added release step, with UPX compression and digital signing of the exe
This commit is contained in:
parent
b23a8089fd
commit
52a2b4b584
5 changed files with 32 additions and 14 deletions
10
Makefile.am
10
Makefile.am
|
@ -7,10 +7,16 @@ pkg_v_rc_ = $(pkg_v_rc_$(AM_DEFAULT_VERBOSITY))
|
|||
pkg_v_rc_0 = @echo " RC $@";
|
||||
|
||||
rufus_rc.o: rufus.rc
|
||||
$(pkg_v_rc)$(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --tag=RC --mode=compile $(RC) $(ARCH_RCFLAGS) -i $< -o $@
|
||||
$(pkg_v_rc)$(WINDRES) -i $< -o $@
|
||||
|
||||
rufus_SOURCES = fat12.c fat16.c fat32.c br.c file.c drive.c msdos.c format.c stdio.c stdlg.c rufus.c
|
||||
rufus_SOURCES = fat12.c fat16.c fat32.c br.c file.c drive.c msdos.c format.c stdio.c stdlg.c rufus.c
|
||||
rufus_CFLAGS = -I./inc $(ARCH_CFLAGS) $(AM_CFLAGS)
|
||||
# static ensures that the exe can be shared as a standalone, and still allow driver installation
|
||||
rufus_LDFLAGS = $(AM_LDFLAGS) -mwindows -static
|
||||
rufus_LDADD = rufus_rc.o -lsetupapi -lole32 -lgdi32
|
||||
|
||||
# This step produces the UPX compressed and signed release that is made available for public download
|
||||
release: rufus.exe
|
||||
@$(STRIP) rufus.exe
|
||||
@upx rufus.exe
|
||||
@cmd.exe /k _sign.bat rufus.exe
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue