summaryrefslogtreecommitdiff
path: root/math/scilab/patches/patch-ae
blob: 257bfcb1e1dd3d7f5d688914a08ae9d3d1ab5fec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-ae,v 1.2 1999/03/05 11:22:34 frueauf Exp $

--- /dev/null	Fri Dec 18 02:05:39 1998
+++ config/Makefile.freebsd	Sat Dec 19 00:06:25 1998
@@ -0,0 +1,18 @@
+# Copyright INRIA
+
+
+FFLAGS = $(FC_OPTIONS)
+
+bin/scilex: scilex-lib 
+	@x=1;if test -f $@; then  \
+		x=`find $(DEFAULTS) $(LIBR)  \( -name '*.a' -o -name '*.o' \) \
+		-newer $@ -print | wc -l `; \
+	fi;\
+	if test $$x -ne 0; then \
+		$(RM) $@; \
+		echo "linking"; \
+		$(FC) $(FFLAGS) -o $@ $(DEFAULTS) $(FC_LDFLAGS) $(LIBR)  \
+			$(TCLTK_LIBS) $(XLIBS) $(TERMCAPLIB); \
+	else \
+		echo bin/scilex is up to date ; \
+	fi