GNUmakefile: relative path for include, formatting

This commit is contained in:
Emma Tebibyte 2023-12-28 22:33:04 -07:00
parent 5df9c33d70
commit cb12a5b8fc
Signed by: emma
GPG Key ID: 06FA419A1698C270

View File

@ -65,7 +65,7 @@ sysexits: build_dir
> build/include/sysexits.h > build/include/sysexits.h
bindgen --default-macro-constant-type signed --use-core \ bindgen --default-macro-constant-type signed --use-core \
"$$(printf '#include <sysexits.h>\n' \ "$$(printf '#include <sysexits.h>\n' \
| cpp -M -idirafter "$$PWD/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) $(RUSTCFLAGS) --crate-type lib -o build/o/libsysexits.rlib -