diff options
author | Wojciech Kosior <kwojtus@protonmail.com> | 2020-09-08 17:27:48 +0200 |
---|---|---|
committer | Wojciech Kosior <kwojtus@protonmail.com> | 2020-09-08 17:27:48 +0200 |
commit | cbc2686373a5fe81b6b28f845edc323d4cae56e5 (patch) | |
tree | f53d38cbb32f441450f8d33ff315566f1e98ce5f /Makefile.util | |
parent | 0a49a2c1496888f0014cf09feb425d9cc47a75ba (diff) | |
download | AGH-engineering-thesis-cbc2686373a5fe81b6b28f845edc323d4cae56e5.tar.gz AGH-engineering-thesis-cbc2686373a5fe81b6b28f845edc323d4cae56e5.zip |
modernize the build (test) system
Diffstat (limited to 'Makefile.util')
-rw-r--r-- | Makefile.util | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.util b/Makefile.util new file mode 100644 index 0000000..7bdc584 --- /dev/null +++ b/Makefile.util @@ -0,0 +1,10 @@ +FILE_LINES = `grep -E '^[[:space:]]*[^[:space:]/]' -c $(1)` + +ifdef PROJ_DIR +vpath tclasm.tcl $(PROJ_DIR) +endif + +vpath tclasm.tcl . + +%.mem : tclasm.tcl %.s.tcl + tclsh $^ > $@ |