File: 0002-makefile-simplify-two-libs.patch

package info (click to toggle)
libf2c2 20130926-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,320 kB
  • ctags: 956
  • sloc: ansic: 10,489; makefile: 25
file content (30 lines) | stat: -rw-r--r-- 790 bytes parent folder | download | duplicates (3)
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 efe7dc0..0784eec 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 $?
@@ -126,7 +126,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