summaryrefslogtreecommitdiffstats
path: root/config/pkg.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config/pkg.mk')
-rw-r--r--config/pkg.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/pkg.mk b/config/pkg.mk
new file mode 100644
index 0000000..9b32b42
--- /dev/null
+++ b/config/pkg.mk
@@ -0,0 +1,11 @@
+# Copyright © Tavian Barnes <tavianator@tavianator.com>
+# SPDX-License-Identifier: 0BSD
+
+# Makefile that generates gen/lib*.mk
+
+.OBJDIR: .
+
+include config/vars.mk
+
+default::
+ config/pkg.sh ${TARGET:${GEN}/%.mk=%} >${TARGET} 2>${TARGET}.log