Added version resource

Based on issue #2.
This commit is contained in:
luca0N! 2020-05-23 22:52:20 -03:00
parent 3a118caf64
commit 6f4265a9ce
No known key found for this signature in database
GPG Key ID: 9F1B99B522287CAB
3 changed files with 137 additions and 4 deletions

View File

@ -20,21 +20,23 @@
C=gcc
CFLAG=-s -Os
MT=mt
MTARGS=-nologo
WINDRES=windres
ldl3: main.o about.h str.h colors.h
$(C) main.o about.h str.h colors.h -o ldl3 $(CFLAG)
$(WINDRES) ldl3.rc -O coff -o ldl3.res
$(C) main.o about.h str.h colors.h ldl3.res -o ldl3 $(CFLAG)
$(MT) -manifest ldl3.manifest -outputresource:ldl3.exe $(MTARGS)
main.o: main.c
$(C) -c main.c $(CFLAG)
clean:
rm *.o *.exe
rm *.o *.exe *.res
cleandust:
rm *.o
rm *.o *.res
dustless:
make

95
ldl3.rc Normal file
View File

@ -0,0 +1,95 @@
/*
limpador do luca0N! 3
Copyright (C) 2020 luca0N!
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Contact me by e-mail via <mailto:luca0n@protonmail.com>.
*/
// Microsoft Visual C++ generated resource script.
//
#pragma code_page(65001)
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (United States) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 3,0,0,0
PRODUCTVERSION 3,0,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40000L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "041604b0"
BEGIN
VALUE "CompanyName", "luca0N!"
VALUE "FileDescription", "limpador do luca0N!"
VALUE "FileVersion", "v3.0"
VALUE "InternalName", "ldl3"
VALUE "LegalCopyright", "Copyright (C) 2020 luca0N!"
VALUE "OriginalFilename", "ldl3.exe"
VALUE "ProductName", "limpador do luca0N!"
VALUE "ProductVersion", "v3.0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x416, 1200
END
END
#endif // English (United States) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

36
resource.h Normal file
View File

@ -0,0 +1,36 @@
/*
limpador do luca0N! 3
Copyright (C) 2020 luca0N!
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Contact me by e-mail via <mailto:luca0n@protonmail.com>.
*/
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by ldl3.rc
//
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NO_MFC 1
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1000
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif