Statistics
| Revision:

root / trunk / src / nh99 / deprecated / optbor32-laplace.mak @ 1634

History | View | Annotate | Download (798 Bytes)

1
.SUFFIXES: .obj .cpp
2
.PATH.obj = $(LIBPATH)
3

    
4
LIBNAME = admod32.lib
5

    
6
!include objects.lst
7

    
8
all: $(LIBNAME) $(DISKDIR)\dist\bin\tpl2cpp.exe disk
9

    
10
$(LIBNAME): $(OBJ0)
11
	cd $(LIBPATH)
12
	tlib /P128 ..\..\dist\lib\$(LIBNAME) /a $(OBJ0)
13
	cd ..\..\..\..\src\nh99
14

    
15
.cpp.obj:
16
	$(CC) $(CXXFLAGS) -o$(.PATH.obj)\$*.obj $<
17

    
18
$(DISKDIR)\dist\bin\tpl2cpp.exe: tpl2cpp-winflex.c
19
	bcc32 -Ic:\\Borland\\BCC55\\Include -Lc:\\Borland\\BCC55\\Lib -e$(DISKDIR)\dist\bin\tpl2cpp.exe tpl2cpp-winflex.c
20

    
21
flex:
22
	flex < tpl2cpp.lex
23
	..\..\utilities\sed -f sedflex lex.yy.c > tpl2cpp.c
24
	bcc32 -Ic:\\Borland\\BCC55\\Include -Lc:\\Borland\\BCC55\\Lib -etpl2cpp.exe tpl2cpp-winflex.c
25
	cp tpl2cpp.exe $(DISKDIR)\dist\bin
26

    
27
disk:
28
	copy admodel.h $(DISKDIR)\dist\include
29
	copy param_init_bounded_number_matrix.h $(DISKDIR)\dist\include