Makefile: update sleep recipe

This commit is contained in:
dtb 2024-05-03 21:22:07 -06:00
parent 81c657ec3e
commit 82f6c46b64
Signed by: trinity
GPG Key ID: 31FF85CCB6DC7641

View File

@ -120,8 +120,8 @@ build/bin/scrut: src/scrut.c build
.PHONY: sleep
sleep: build/bin/sleep
build/bin/sleep: src/sleep.rs build
$(RUSTC) $(RUSTFLAGS)
build/bin/sleep: src/sleep.rs build rustlibs
$(RUSTC) $(RUSTFLAGS) \
--extern sysexits=build/o/libsysexits.rlib \
-o $@ src/sleep.rs