The manifest file is included automatically when it is necessary (when dynamic C runtime is used).

This commit is contained in:
David Capello 2010-06-24 00:47:04 -03:00
parent 6cd81ae7c1
commit 848735cdd5

View File

@ -232,9 +232,16 @@ $(OBJ_DIR)/icon.res: src/icon.rc
$(RC) $<
mv src/icon.res $@
ifdef STATIC_ALLEG_LINK
$(ASE): $(ASE_DEPS) $(OBJ_DIR)/icon.res
link $(LFLAGS) $^ $(LIBS) -OUT:$@
# To embed the manifest file uncomment the following lines:
# mt -nologo -manifest $@.manifest -outputresource:$@;#2
# rm $@.manifest
else
$(ASE): $(ASE_DEPS) $(OBJ_DIR)/icon.res
link $(LFLAGS) $^ $(LIBS) -OUT:$@
mt -nologo -manifest $@.manifest -outputresource:$@;#2
rm $@.manifest
endif