GNUmakefile: relative path for include, formatting
This commit is contained in:
parent
5df9c33d70
commit
cb12a5b8fc
|
@ -65,8 +65,8 @@ sysexits: build_dir
|
|||
> build/include/sysexits.h
|
||||
bindgen --default-macro-constant-type signed --use-core \
|
||||
"$$(printf '#include <sysexits.h>\n' \
|
||||
| cpp -M -idirafter "$$PWD/build/include" - \
|
||||
| sed 's/ /\n/g' | grep sysexits.h)" \
|
||||
| cpp -M -idirafter "build/include" - \
|
||||
| sed 's/ /\n/g' | grep sysexits.h)" \
|
||||
| $(RUSTC) $(RUSTCFLAGS) --crate-type lib -o build/o/libsysexits.rlib -
|
||||
|
||||
false: src/false.rs build_dir
|
||||
|
|
Loading…
Reference in New Issue
Block a user