summaryrefslogtreecommitdiff
path: root/template/bin.gpr
diff options
context:
space:
mode:
Diffstat (limited to 'template/bin.gpr')
-rw-r--r--template/bin.gpr24
1 files changed, 5 insertions, 19 deletions
diff --git a/template/bin.gpr b/template/bin.gpr
index db20fba..2948e1f 100644
--- a/template/bin.gpr
+++ b/template/bin.gpr
@@ -1,22 +1,8 @@
-abstract project bin is
+with "lib/bsdutil/bsdutil.gpr";
+abstract project bin extends "template/base.gpr" 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;
+ package Linker renames base.Linker;
+ package Compiler renames base.Compiler;
+ package Install renames base.Install;
end bin;