From cb12a5b8fc37032adcf752c9056361fbeebd4b53 Mon Sep 17 00:00:00 2001 From: emma Date: Thu, 28 Dec 2023 22:33:04 -0700 Subject: [PATCH] GNUmakefile: relative path for include, formatting --- GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index da8a673..7722d7f 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -65,8 +65,8 @@ sysexits: build_dir > build/include/sysexits.h bindgen --default-macro-constant-type signed --use-core \ "$$(printf '#include \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