tests: bonsai/rpn.mk: fixes rpn_test target deps

This commit is contained in:
Emma Tebibyte 2024-08-10 15:34:41 -06:00
parent 326c8f77d1
commit 0ddfa6e474
Signed by: emma
GPG Key ID: 06FA419A1698C270

View File

@ -6,7 +6,7 @@
# notice are preserved. This file is offered as-is, without any warranty.
.PHONY: rpn_tests
rpn_tests: rpn_help rpn_add
rpn_tests: rpn_help rpn_add rpn_sub rpn_mul rpn_div rpn_mod rpn_flr
.PHONY: rpn_help
rpn_help: $(BIN)/rpn
@ -20,7 +20,7 @@ rpn_add: $(BIN)/rpn
.PHONY: rpn_sub
rpn_sub: $(BIN)/rpn
test "$$($(BIN)/rpn 23 5 -)" -eq 18
test "$$($(BIN)/rpn 0.3 0.1)" = 0.2
test "$$($(BIN)/rpn 0.3 0.1 -)" = 0.2
.PHONY: rpn_mul
rpn_mul: $(BIN)/rpn