GNUmakefile: relative path for include, formatting
This commit is contained in:
parent
5df9c33d70
commit
cb12a5b8fc
@ -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 -
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user