Package: libf2c2 / 20240504-1

0002-makefile-simplify-two-libs.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From: "Barak A. Pearlmutter" <barak+git@pearlmutter.net>
Date: Mon, 11 Jan 2016 20:43:24 +0000
Subject: makefile simplify two libs

---
 makefile.u | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/makefile.u b/makefile.u
index a271e5c..e941ab1 100644
--- a/makefile.u
+++ b/makefile.u
@@ -69,7 +69,7 @@ TIME =	dtime_.o etime_.o
 OFILES = $(MISC) $(POW) $(CX) $(DCX) $(REAL) $(DBL) $(INT) \
 	$(HALF) $(CMP) $(EFL) $(CHAR) $(I77) $(TIME)
 
-all: f2c.h signal1.h sysdep1.h libf2c.a
+all: f2c.h signal1.h sysdep1.h $(OFILES)
 
 libf2c.a: $(OFILES)
 	ar r libf2c.a $?
@@ -129,7 +129,7 @@ install: libf2c.a
 	-ranlib $(LIBDIR)/libf2c.a
 
 clean:
-	rm -f libf2c.a *.o arith.h signal1.h sysdep1.h
+	rm -f *.o arith.h signal1.h sysdep1.h
 
 backspac.o:	fio.h
 close.o:	fio.h