Makefile: RUSTCFLAGS -> RUSTFLAGS

This commit is contained in:
Emma Tebibyte 2024-02-01 01:33:47 -07:00
parent 5f8e90b592
commit f966233e19
Signed by: emma
GPG Key ID: 06FA419A1698C270

View File

@ -54,10 +54,10 @@ sysexits: build
"$$(printf '#include <sysexits.h>\n' \ "$$(printf '#include <sysexits.h>\n' \
| cpp -M -idirafter "build/include" - \ | cpp -M -idirafter "build/include" - \
| sed 's/ /\n/g' | grep sysexits.h)" \ | sed 's/ /\n/g' | grep sysexits.h)" \
| $(RUSTC) $(RUSTCFLAGS) --crate-type lib -o build/o/libsysexits.rlib - | $(RUSTC) $(RUSTFLAGS) --crate-type lib -o build/o/libsysexits.rlib -
libgetopt: src/getopt-rs/lib.rs libgetopt: src/getopt-rs/lib.rs
$(RUSTC) $(RUSTCFLAGS) --crate-type=lib --crate-name=getopt \ $(RUSTC) $(RUSTFLAGS) --crate-type=lib --crate-name=getopt \
-o build/o/libgetopt.rlib src/getopt-rs/lib.rs -o build/o/libgetopt.rlib src/getopt-rs/lib.rs
.PHONY: dj .PHONY: dj