From 14140edba55786f54045e9e5c08222d946a037ce Mon Sep 17 00:00:00 2001 From: Quantum Date: Sun, 8 Sep 2013 10:44:44 -0400 Subject: [PATCH] Embedded manifest in resource file. --- Makefile | 4 +--- Zalgo.rc | 1 + res/commctrl6.manifest | 15 +++++++++++++++ 3 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 res/commctrl6.manifest diff --git a/Makefile b/Makefile index 992dea5..fb9e1a2 100644 --- a/Makefile +++ b/Makefile @@ -4,8 +4,7 @@ INCDIR=include CXX=cl /nologo LD=link /nologo CXXFLAGS=/c /O1 /I$(INCDIR) /W4 /Zi /DWIN32_LEAN_AND_MEAN /DWINVER=0x0501 /D_WIN32_WINNT=0x0501 /wd4100 /DUNICODE /D_UNICODE /EHsc -LDFLAGS=/subsystem:windows /debug /manifest /incremental:no /opt:REF -LDFLAGS=$(LDFLAGS) "/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'" +LDFLAGS=/subsystem:windows /debug /incremental:no /opt:REF RC=rc /nologo RCFLAGS=/i$(INCDIR) LIBS= @@ -78,7 +77,6 @@ $(OUTDIR)\Zalgo.res: Zalgo.rc res\x-sampa.txt res\init.txt $(DISTDIR)\Zalgo.exe: $(FILES) $(LD) /out:$@ $(LDFLAGS) $** $(LIBS) - mt.exe -nologo -manifest $@.manifest -outputresource:$@;1 && del $@.manifest || set ERRORLEVEL=0 $(DISTDIR)\hecomes.exe: $(CMDFILE) $(OUTDIR)\hecomes.obj $(LD) /out:$@ $** diff --git a/Zalgo.rc b/Zalgo.rc index c46504d..072fbaa 100644 --- a/Zalgo.rc +++ b/Zalgo.rc @@ -4,3 +4,4 @@ RID_ICON ICON Zalgo.ico RID_XSAMPA ZALGO_TEXT "res\\x-sampa.txt" RID_INIT ZALGO_TEXT "res\\init.txt" RID_LOOSE ZALGO_TEXT "res\\loose.txt" +1 24 "res\\commctrl6.manifest" diff --git a/res/commctrl6.manifest b/res/commctrl6.manifest new file mode 100644 index 0000000..ec8d6dd --- /dev/null +++ b/res/commctrl6.manifest @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + +