mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-15 19:52:05 +00:00
Renamed icon.rc to resources_win32.rc, and added VERSIONINFO resource.
This commit is contained in:
parent
a9a4dc955f
commit
51b0fbdc96
@ -189,8 +189,8 @@ else
|
|||||||
$(OBJ_DIR)/%.res: src/%.rc
|
$(OBJ_DIR)/%.res: src/%.rc
|
||||||
$(WINDRES) -O coff -o $@ -i $<
|
$(WINDRES) -O coff -o $@ -i $<
|
||||||
|
|
||||||
$(ASE): $(ASE_DEPS) $(OBJ_DIR)/icon.res
|
$(ASE): $(ASE_DEPS) $(OBJ_DIR)/resources_win32.res
|
||||||
$(CPP) -o $@ $(ASE_OBJS) $(OBJ_DIR)/icon.res $(LFLAGS) $(LFLAGS_LAST)
|
$(CPP) -o $@ $(ASE_OBJS) $(OBJ_DIR)/resources_win32.res $(LFLAGS) $(LFLAGS_LAST)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
|
@ -66,7 +66,7 @@ default: all
|
|||||||
all: $(ASE)
|
all: $(ASE)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rm -f $(ALL_OBJS) $(THIRD_PARTY_LIBS) $(OBJ_DIR)/icon.res
|
-rm -f $(ALL_OBJS) $(THIRD_PARTY_LIBS) $(OBJ_DIR)/resources_win32.res
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
-rm -f $(ASE)
|
-rm -f $(ASE)
|
||||||
|
10
makefile.vc
10
makefile.vc
@ -96,7 +96,7 @@ default: all
|
|||||||
all: $(ASE)
|
all: $(ASE)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rm -f $(ALL_OBJS) $(THIRD_PARTY_LIBS) $(OBJ_DIR)/icon.res
|
-rm -f $(ALL_OBJS) $(THIRD_PARTY_LIBS) $(OBJ_DIR)/resources_win32.res
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
-rm -f $(ASE)
|
-rm -f $(ASE)
|
||||||
@ -229,18 +229,18 @@ $(OBJ_DIR)/vaca.%$(OBJ): %.cpp
|
|||||||
######################################################################
|
######################################################################
|
||||||
# Application
|
# Application
|
||||||
|
|
||||||
$(OBJ_DIR)/icon.res: src/icon.rc
|
$(OBJ_DIR)/resources_win32.res: src/resources_win32.rc
|
||||||
$(RC) $<
|
$(RC) $<
|
||||||
mv src/icon.res $@
|
mv src/resources_win32.res $@
|
||||||
|
|
||||||
ifdef STATIC_ALLEG_LINK
|
ifdef STATIC_ALLEG_LINK
|
||||||
|
|
||||||
$(ASE): $(ASE_DEPS) $(OBJ_DIR)/icon.res
|
$(ASE): $(ASE_DEPS) $(OBJ_DIR)/resources_win32.res
|
||||||
link $(LFLAGS) $^ $(LIBS) -OUT:$@
|
link $(LFLAGS) $^ $(LIBS) -OUT:$@
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
$(ASE): $(ASE_DEPS) $(OBJ_DIR)/icon.res
|
$(ASE): $(ASE_DEPS) $(OBJ_DIR)/resources_win32.res
|
||||||
link $(LFLAGS) $^ $(LIBS) -OUT:$@
|
link $(LFLAGS) $^ $(LIBS) -OUT:$@
|
||||||
mt -nologo -manifest $@.manifest -outputresource:$@;#2
|
mt -nologo -manifest $@.manifest -outputresource:$@;#2
|
||||||
rm $@.manifest
|
rm $@.manifest
|
||||||
|
@ -1 +0,0 @@
|
|||||||
allegro_icon ICON data/icons/ase072.ico
|
|
34
src/resources_win32.rc
Normal file
34
src/resources_win32.rc
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
allegro_icon ICON data/icons/ase072.ico
|
||||||
|
|
||||||
|
1 VERSIONINFO
|
||||||
|
FILEVERSION 0,8,0,0
|
||||||
|
PRODUCTVERSION 0,8,0,0
|
||||||
|
FILEFLAGSMASK 0x3fL
|
||||||
|
#ifdef _DEBUG
|
||||||
|
FILEFLAGS 0x1L
|
||||||
|
#else
|
||||||
|
FILEFLAGS 0x0L
|
||||||
|
#endif
|
||||||
|
FILEOS 0x4L
|
||||||
|
FILETYPE 0x1L
|
||||||
|
FILESUBTYPE 0x0L
|
||||||
|
BEGIN
|
||||||
|
BLOCK "StringFileInfo"
|
||||||
|
BEGIN
|
||||||
|
BLOCK "040904b0"
|
||||||
|
BEGIN
|
||||||
|
VALUE "Comments", "http://www.aseprite.org/"
|
||||||
|
VALUE "FileDescription", "A pixel art program"
|
||||||
|
VALUE "FileVersion", "0, 8, 0, 0"
|
||||||
|
VALUE "InternalName", "aseprite"
|
||||||
|
VALUE "LegalCopyright", "Copyright (C) 2001-2010 by David Capello"
|
||||||
|
VALUE "OriginalFilename", "aseprite.exe"
|
||||||
|
VALUE "ProductName", "Allegro Sprite Editor"
|
||||||
|
VALUE "ProductVersion", "0, 8, 0, 0"
|
||||||
|
END
|
||||||
|
END
|
||||||
|
BLOCK "VarFileInfo"
|
||||||
|
BEGIN
|
||||||
|
VALUE "Translation", 0x409, 1200
|
||||||
|
END
|
||||||
|
END
|
Loading…
Reference in New Issue
Block a user