mm(1): add

This commit is contained in:
dtb
2024-02-17 23:43:22 -07:00
parent abb8fdf935
commit 194b19f94b
3 changed files with 299 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ CC=cc
RUSTC=rustc
.PHONY: all
all: dj false fop intcmp rpn scrut str strcmp true
all: dj false fop intcmp mm rpn scrut str strcmp true
build:
# keep build/include until bindgen(1) has stdin support
@@ -79,6 +79,11 @@ intcmp: build/bin/intcmp
build/bin/intcmp: src/intcmp.c build
$(CC) $(CFLAGS) -o $@ src/intcmp.c
.PHONY: mm
mm: build/bin/mm
build/bin/mm: src/mm.c build
$(CC) $(CFLAGS) -o $@ src/mm.c
.PHONY: rpn
rpn: build/bin/rpn
build/bin/rpn: src/rpn.rs build build/o/libsysexits.rlib