summaryrefslogtreecommitdiff
path: root/template/bin.gpr
blob: db20fba1034fe1fd26ba60f292913f4172445b9f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
abstract project bin is

   CFLAGS := External_As_List ("CFLAGS", " ");

   for Languages use ("C");

   package Compiler is
      for Default_Switches ("C") use ("-std=c11",
                                      "-Wall",
                                      "-Wextra",
                                      "-Wpedantic") & CFLAGS;
   end Compiler;

   package Linker is
      for Trailing_Switches ("C") use ("-lbsd");
   end Linker;

   package Install is
      for Install_Project use "false";
   end Install;

end bin;