summaryrefslogtreecommitdiffstats
path: root/cis/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cis/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/cis/Makefile b/cis/Makefile
new file mode 100644
index 0000000..0a222f1
--- /dev/null
+++ b/cis/Makefile
@@ -0,0 +1,14 @@
+# The pack_cis tool from cis-tools
+# <http://git.kernel.org/?p=utils/cis-tools/cis-tools.git>.
+PACK_CIS = pack_cis
+
+CIS_SRC := $(wildcard src/*.cis)
+CIS_BIN := $(notdir $(CIS_SRC))
+
+all: $(CIS_BIN)
+
+%.cis: src/%.cis
+ $(PACK_CIS) -o $@ $<
+
+clean:
+ rm -f $(CIS_BIN)