blob: 0463f107d557d9d739f6889490ae1372c9031f8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{$ifndef ALLPACKAGES}
{$mode objfpc}{$H+}
program fpmake;
uses fpmkunit;
Var
P : TPackage;
T : TTarget;
begin
With Installer do
begin
{$endif ALLPACKAGES}
P:=AddPackage('newt');
{$ifdef ALLPACKAGES}
P.Directory:=ADirectory;
{$endif ALLPACKAGES}
P.Version:='3.3.1';
P.SourcePath.Add('src');
P.OSes:=[Linux];
T:=P.Targets.AddUnit('newt.pp');
P.ExamplePath.Add('examples');
P.Targets.AddExampleProgram('newt3.pas');
P.Targets.AddExampleProgram('newt2.pas');
P.Targets.AddExampleProgram('newt1.pas');
{$ifndef ALLPACKAGES}
Run;
end;
end.
{$endif ALLPACKAGES}
|