diff lib/kps/bfmake @ 12274:3c04e9ef7a3a draft

<kspalaiologos> `` cp -rf /hackenv/tmp/asmbf-1.2.7/bin/* /hackenv/lib/kps/
author HackEso <hackeso@esolangs.org>
date Tue, 31 Dec 2019 17:47:30 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lib/kps/bfmake	Tue Dec 31 17:47:30 2019 +0000
@@ -0,0 +1,7 @@
+#!/bin/bash -e
+
+name=$(echo "$1" | cut -f 1 -d '.')
+
+/bin/bfpp "$1"
+/bin/bfasm < "$1.p" | /bin/strip.pl > "${1%.*}.b"
+rm -f "$1.p"