From 32537895cb38ab8b0644e0b517b80fa4aab2e165 Mon Sep 17 00:00:00 2001 From: emma Date: Thu, 1 Feb 2024 00:31:41 -0700 Subject: [PATCH] Makefile: added rpn build recipe --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 61b67de..ef52a78 100644 --- a/Makefile +++ b/Makefile @@ -81,6 +81,11 @@ intcmp: build/bin/intcmp build/bin/intcmp: src/intcmp.c build $(CC) $(CFLAGS) -o $@ src/intcmp.c +.PHONY: rpn +rpn: build/bin/rpn +build/bin/rpn: src/rpn.rs build + $(RUSTC) $(RUSTFLAGS) -o $@ src/rpn.rs + .PHONY: scrut scrut: build/bin/scrut build/bin/scrut: src/scrut.c build