aboutsummaryrefslogtreecommitdiff
path: root/math/scilab/files/patch-am
blob: f734130a0080d4c674a04a3effaea3a33f853eaa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- ./config/Makefile.netbsd.orig	Sat Jul 18 22:31:54 1998
+++ ./config/Makefile.netbsd	Fri Jul 24 12:00:14 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