From f52804b50279966f3e110953b4d385ae18c7f6dd Mon Sep 17 00:00:00 2001 From: "Andrew E. Torda" <torda@zbh.uni-hamburg.de> Date: Tue, 28 Jun 2022 16:51:16 +0200 Subject: [PATCH] makefile should now be very neutral and does not even specify a C compiler. --- Makefile | 2 +- README.md | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f699091..891f16e 100755 --- a/Makefile +++ b/Makefile @@ -9,6 +9,6 @@ md: $(OBJS) $(INCS) $(CC) $(CFLAGS) rvec.o md.o md-extra.o -o md -lm clean: - rm -f md + rm -f md a.out rm -f *.o rm -f *~ diff --git a/README.md b/README.md index cd159a4..56caa41 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ # MD Uebung files This began life as Nils Uebung. -In June 2022, I had to move executable code out of `rvec.h`. There was executable code which is not allowed in a `.h` file. +In June 2022, I moved executable code out of `rvec.h`. There was executable code which is not allowed in a `.h` file. I also removed some unnecessary lines from the Makefile. + +# BUGS +If you compile with `-Wall`, there will be some warnings about unused variables. These are not a problem. This is an assignment in which one should write code that uses these variables. -- GitLab