VC makefile tweaks
Remove the `rc` logo using the undocumented `/s` option. Use a batch rule, even if this project is too small to really take advantage of it.
This commit is contained in:
parent
852db64d91
commit
3c97a6e4e7
@ -18,6 +18,10 @@
|
|||||||
#
|
#
|
||||||
# 18 July, 2013:
|
# 18 July, 2013:
|
||||||
# hide the commands (use V=1 to show them).
|
# hide the commands (use V=1 to show them).
|
||||||
|
#
|
||||||
|
# 30 April, 2018:
|
||||||
|
# use undocumented rc option /s to remove its logo;
|
||||||
|
# use a batch rule (even if this project is too small to make a difference).
|
||||||
|
|
||||||
#BITS = 32
|
#BITS = 32
|
||||||
#BITS = 64
|
#BITS = 64
|
||||||
@ -59,6 +63,7 @@ SHARE = /MD
|
|||||||
# Manifest tool to embed the manifest required by 2008.
|
# Manifest tool to embed the manifest required by 2008.
|
||||||
MT = mt.exe
|
MT = mt.exe
|
||||||
|
|
||||||
|
RFLAGS = /s
|
||||||
CFLAGS = /nologo /W3 /O2 $(SHARE) /D_CRT_SECURE_NO_WARNINGS
|
CFLAGS = /nologo /W3 /O2 $(SHARE) /D_CRT_SECURE_NO_WARNINGS
|
||||||
LIBS = advapi32.lib $(LIBS64)
|
LIBS = advapi32.lib $(LIBS64)
|
||||||
|
|
||||||
@ -79,8 +84,8 @@ LDmsg = @echo $@&
|
|||||||
MTmsg = @echo Embedding manifest&
|
MTmsg = @echo Embedding manifest&
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
{}.c{$(DIR)}.obj:
|
{}.c{$(DIR)}.obj::
|
||||||
$(CCmsg)$(CC) /c $(CFLAGS) /Fo$@ $<
|
$(CCmsg)$(CC) /c $(CFLAGS) /Fo$(DIR)\ $<
|
||||||
|
|
||||||
{}.rc{$(DIR)}.res:
|
{}.rc{$(DIR)}.res:
|
||||||
$(RCmsg)$(RC) $(RFLAGS) /fo$@ $<
|
$(RCmsg)$(RC) $(RFLAGS) /fo$@ $<
|
||||||
|
Loading…
x
Reference in New Issue
Block a user