File: Makefile.mak

package info (click to toggle)
scilab 2.6-4
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 54,632 kB
  • ctags: 40,267
  • sloc: ansic: 267,851; fortran: 166,549; sh: 10,005; makefile: 4,119; tcl: 1,070; cpp: 233; csh: 143; asm: 135; perl: 130; java: 39
file content (58 lines) | stat: -rw-r--r-- 965 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
.SUFFIXES: .desc $(SUFFIXES)

SCIDIR=../..
SCIDIR1=..\..

DUMPEXTS=$(SCIDIR1)\bin\dumpexts
SCIIMPLIB=$(SCIDIR)/bin/LibScilab.lib
INTERSCI=$(SCIDIR1)\bin\intersci-n
F2C=$(SCIDIR1)\bin\f2c.exe

include ../../Makefile.incl.mak 

FFLAGS = $(FC_OPTIONS) -DFORDLL
CFLAGS = $(CC_OPTIONS) -DFORDLL 

all:: info

info:
	@echo ------------------------------------------;
	@echo At Scilab prompt, enter:;
	@echo -->exec exXX.sce; 
	@echo to execute example XX 
	@echo ------------------------------------------;
	@echo Type nmake /f Makefile.mak tests 
	@echo to run all tests 

.desc.c: 
	@echo  generating $*.c 
	@$(INTERSCI) $* 

clean::

distclean	::
	@del *.obj 
	@del *.dll
	@del *.ilib 
	@del *.pdk
	@del *.pdb
	@del *.ilk 
	@del *.def
	@del *.exp 
	@del *_builder.sce
	@del *.tmp
	@del *fi.c 
	@del libex*

tests	: 
	$(SCIDIR1)\bin\scilex.exe  -f zall.sce

distclean:: clean

clean	::
	@del zallfi
	@del zallfi.sce 
	@del zallfi.f 
	@del zallfi.obj 
	@del zallfi.dia