~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to config/Makefile.sgi

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright INRIA
 
2
 
 
3
FFLAGS = $(FC_OPTIONS)
 
4
 
 
5
bin/scilex: scilex-lib 
 
6
        @x=1;if test -f $@; then  \
 
7
                x=`find $(DEFAULTS) $(LIBR)  \( -name '*.a' -o -name '*.o' \) \
 
8
                -newer $@ -print | wc -l `; \
 
9
        fi;\
 
10
        if test $$x -ne 0; then \
 
11
                $(RM) $@; \
 
12
                echo "linking"; \
 
13
                $(FC) $(FFLAGS) -o $@ $(DEFAULTS) $(FC_LDFLAGS) $(LIBR)  \
 
14
                        $(TCLTK_LIBS) $(XLIBS) $(TERMCAPLIB); \
 
15
        else \
 
16
                echo bin/scilex is up to date ; \
 
17
        fi
 
18
 
 
19
 
 
20
show    :               
 
21
        $(FC) $(FFLAGS) -o $@ $(DEFAULTS) $(FC_LDFLAGS) $(LIBR)  \
 
22
                        $(TCLTK_LIBS) $(XLIBS) $(TERMCAPLIB);
 
23