mm(1): rewritten in Rust

This commit is contained in:
2024-07-13 23:49:27 -06:00
parent 9addfc9284
commit 1b3b03cae0
3 changed files with 139 additions and 238 deletions

View File

@@ -114,8 +114,8 @@ build/bin/intcmp: src/intcmp.c build
.PHONY: mm
mm: build/bin/mm
build/bin/mm: src/mm.c build
$(CC) $(CFLAGS) -o $@ src/mm.c
build/bin/mm: src/mm.rs build rustlibs
$(RUSTC) $(RUSTFLAGS) $(RUSTLIBS) -o $@ src/mm.rs
.PHONY: npc
npc: build/bin/npc