blob: ea1ea8d6424191c9074b57943589b92bb84ee725 (
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
35
36
37
38
39
|
-- goal is for executable to be no more than 90-100kB
-- when dynamically linked, to match leafpad
with "fltkada";
project AdaPad is
for Languages use ("Ada");
for Source_Dirs use ("src/**");
for Object_Dir use "obj";
for Exec_Dir use "bin";
for Main use ("main.adb");
package Builder is
for Executable("main.adb") use "adapad";
end Builder;
package Compiler is
for Default_Switches("Ada") use ("-gnaty4aAbcefhiklM99nprt");
end Compiler;
package Linker is
for Default_Switches("Ada") use ("-lfltk", "-lfltk_images");
end Linker;
end AdaPad;
|