From e674027b3ea285a94fb0c8bb32db88e639ba7963 Mon Sep 17 00:00:00 2001 From: DTB Date: Thu, 21 Mar 2024 20:40:19 -0600 Subject: [PATCH] Makefile: add sleep(1) --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index cbfe3a7..d564a3c 100644 --- a/Makefile +++ b/Makefile @@ -103,6 +103,13 @@ scrut: build/bin/scrut build/bin/scrut: src/scrut.c build $(CC) $(CFLAGS) -o $@ src/scrut.c +.PHONY: sleep +sleep: build/bin/sleep +build/bin/sleep: src/sleep.rs build + $(RUSTC) $(RUSTFLAGS) + --extern sysexits=build/o/libsysexits.rlib \ + -o $@ src/sleep.rs + .PHONY: str str: build/bin/str build/bin/str: src/str.c build