mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
ADD: Simple makefile
This commit is contained in:
parent
51797f8c25
commit
bc74e1a915
2 changed files with 17 additions and 6 deletions
16
Makefile
Executable file
16
Makefile
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
all: fpmake
|
||||
${CURDIR}/fpmake --verbose
|
||||
|
||||
clean: fpmake
|
||||
${CURDIR}/fpmake clean --verbose
|
||||
|
||||
plugins: fpmake
|
||||
${CURDIR}/fpmake plugins --verbose
|
||||
|
||||
components: fpmake
|
||||
${CURDIR}/fpmake components --verbose
|
||||
|
||||
fpmake:
|
||||
fpc fpmake.pp
|
||||
|
||||
.PHONY: all clean components
|
||||
|
|
@ -239,11 +239,7 @@ begin
|
|||
TDCBuildEngine(BuildEngine).SysDeleteTree('doublecmd.dSYM');
|
||||
end;
|
||||
// Clean fpmake output files
|
||||
TDCBuildEngine(BuildEngine).SysDeleteTree('lib');
|
||||
if Defaults.OS in AllUnixOSes then
|
||||
begin
|
||||
TDCBuildEngine(BuildEngine).SysDeleteFile('fpmake');
|
||||
end;
|
||||
TDCBuildEngine(BuildEngine).SysDeleteFile('fpmake.o');
|
||||
end;
|
||||
|
||||
procedure TDCInstaller.Build;
|
||||
|
|
@ -302,7 +298,6 @@ var
|
|||
OptionIndex: LongInt = 0;
|
||||
Options: array[1..4] of TOption;
|
||||
begin
|
||||
WriteLn('Run!!!');
|
||||
with Installer(TDCInstaller) as TDCInstaller do
|
||||
begin
|
||||
CreateBuildEngine;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue