intcmp(1): rewrite in rust

This commit is contained in:
dtb
2024-07-15 03:14:57 -06:00
parent 699893af89
commit 2f2270322a
3 changed files with 11 additions and 92 deletions

View File

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