diff options
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 $^ > $@ |