Added version resource
This commit is contained in:
parent
3a118caf64
commit
4863516086
10
Makefile
10
Makefile
|
@ -20,21 +20,23 @@
|
||||||
|
|
||||||
C=gcc
|
C=gcc
|
||||||
CFLAG=-s -Os
|
CFLAG=-s -Os
|
||||||
|
|
||||||
MT=mt
|
MT=mt
|
||||||
MTARGS=-nologo
|
MTARGS=-nologo
|
||||||
|
WINDRES=windres
|
||||||
|
|
||||||
ldl3: main.o about.h str.h colors.h
|
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)
|
$(MT) -manifest ldl3.manifest -outputresource:ldl3.exe $(MTARGS)
|
||||||
|
|
||||||
main.o: main.c
|
main.o: main.c
|
||||||
$(C) -c main.c $(CFLAG)
|
$(C) -c main.c $(CFLAG)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm *.o *.exe
|
rm *.o *.exe *.res
|
||||||
|
|
||||||
cleandust:
|
cleandust:
|
||||||
rm *.o
|
rm *.o *.res
|
||||||
|
|
||||||
dustless:
|
dustless:
|
||||||
make
|
make
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
Reference in New Issue