From 81da060affabe7db092ddcaa7584c463e05ae38a Mon Sep 17 00:00:00 2001 From: shrektan Date: Tue, 4 Jan 2022 13:35:41 +0800 Subject: [PATCH] ignore Makevars or Makevars.win as it's generated by configure --- src/.gitignore | 2 ++ src/Makevars | 19 ------------------- 2 files changed, 2 insertions(+), 19 deletions(-) delete mode 100644 src/Makevars diff --git a/src/.gitignore b/src/.gitignore index 0acc02d..99ccd02 100644 --- a/src/.gitignore +++ b/src/.gitignore @@ -2,3 +2,5 @@ *.so *.dll target +Makevars +Makevars.win diff --git a/src/Makevars b/src/Makevars deleted file mode 100644 index 697a2ae..0000000 --- a/src/Makevars +++ /dev/null @@ -1,19 +0,0 @@ -LIBDIR = ./rust/target/release -PKG_LIBS = -L$(LIBDIR) -lymd -STATLIB = $(LIBDIR)/libymd.a - -all: C_clean - -$(SHLIB): $(STATLIB) - -$(STATLIB): - . "/Users/shrektan/.cargo/env" && cargo build --lib --release --manifest-path=./rust/Cargo.toml - - -C_clean: - rm -Rf $(SHLIB) $(OBJECTS) $(STATLIB) - -clean: - rm -Rf $(SHLIB) $(OBJECTS) $(STATLIB) rust/target - -.PHONY: all C_clean clean