File: Makefile.mak

package info (click to toggle)
scilab 2.4-1
  • links: PTS
  • area: non-free
  • in suites: potato, slink
  • size: 55,196 kB
  • ctags: 38,019
  • sloc: ansic: 231,970; fortran: 148,976; tcl: 7,099; makefile: 4,585; sh: 2,978; csh: 154; cpp: 101; asm: 39; sed: 5
file content (59 lines) | stat: -rwxr-xr-x 1,239 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
SHELL = /bin/sh

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

CFLAGS = $(CC_OPTIONS)

FFLAGS = $(FC_OPTIONS)

EXAMPLES= Ex-colnew.obj Ex-corr.obj  Ex-feval.obj  Ex-fsolve.obj  Ex-impl.obj  Ex-intg.obj \
	Ex-ode-more.obj  Ex-ode.obj  Ex-odedc.obj  Ex-optim.obj  Ex-schur.obj  Ex-fort.obj \
	Ex-dasrt.obj  Ex-dassl.obj  Ex-fbutn.obj  Ex-int2d.obj  Ex-int3d.obj


OBJS =  FTables.obj $(EXAMPLES) mainsci.obj matusr.obj matus2.obj Funtab.obj  msgstxt.obj \
	scimem.obj  callinterf.obj

# jpc win32 
OBJS =  FTables.obj $(EXAMPLES) mainwin95.obj matusr.obj matus2.obj Funtab.obj  msgstxt.obj \
	scimem.obj callinterf.obj

world: all

all:: $(OBJS)

FTables.obj : FTables.h 

FTables.h : Flist 
	./FCreate

Funtab.obj : fundef 

$(EXAMPLES) : ../stack.h 

distclean::
	$(RM) $(OBJS)

# symbols 

# A partial def file (without headers) for the default objects 
# to build a scilex.def 

DEF=../../libs/default.def 

all:: $(DEF)

$(DEF) : $(OBJS) 
	@echo Creation of $(DEF)
	@..\..\bin\dumpexts.exe -o $(DEF) -n scilex.dll $(OBJS)

# default rule for Fortran Compilation 

.f.obj	:
	@..\..\bin\f2c  $*.f 
	@$(CC) $(CFLAGS) $*.c 
	@del $*.c 

matus2.obj matusr.obj msgstxt.obj user2.obj :   ../stack.h
callinterf.obj : ../machine.h  callinterf.h