File: Makefile

package info (click to toggle)
scilab 2.2-4
  • links: PTS
  • area: non-free
  • in suites: hamm
  • size: 31,472 kB
  • ctags: 21,963
  • sloc: fortran: 110,983; ansic: 89,717; makefile: 3,016; sh: 1,892; csh: 150; cpp: 101
file content (39 lines) | stat: -rwxr-xr-x 966 bytes parent folder | 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
31
32
33
34
35
36
37
38
39
SHELL = /bin/sh

SCIDIR=../..
include ../../Makefile.incl

CFLAGS = $(CC_OPTIONS)

FFLAGS = $(FC_OPTIONS)

LIBRARY = $(SCIDIR)/libs/calelm.a

OBJSC =

OBJSF = coshin.o arcosh.o  dad.o dadd.o dasum.o daxpy.o dcopy.o ddif.o \
	ddot.o dmcopy.o dmmul.o dnrm2.o drot.o drotg.o dscal.o dset.o dsort.o \
	dsum.o dswap.o dtild.o dvmul.o entier.o franck.o gdcp2i.o hilber.o \
	icopy.o idamax.o iset.o isort.o iwamax.o kronc.o kronr.o magic.o \
	mtran.o pythag.o  round.o simple.o urand.o wasum.o watan.o \
	waxpy.o wcopy.o wdiv.o wdotci.o wdotcr.o wlog.o wmmul.o wmul.o \
	wnrm2.o wrscal.o wscal.o wsign.o wsqrt.o wswap.o wvmul.o dipow.o \
	ddpow.o dwpow.o wdpow.o wipow.o wwpow.o int2db.o rea2db.o\
	isoval.o isova0.o imcopy.o dlblks.o rat.o lnblnk.o dmmul1.o

OBJS = $(OBJSC) $(OBJSF)

all:: $(LIBRARY)

world: all

$(LIBRARY): $(OBJS)
	@echo Creation of $(LIBRARY)
	@$(RM) $@
	@$(AR) $@ $(OBJS)
	@$(RANLIB) $@

clean::
	$(RM) $(OBJS)
distclean::
	$(RM) $(OBJS) $(LIBRARY)