Statistics
| Revision:

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

History | View | Annotate | Download (798 Bytes)

1 1 johnoel
.SUFFIXES: .obj .cpp
2
.PATH.obj = $(LIBPATH)
3
4 344 arnima
LIBNAME = admod32.lib
5 1 johnoel
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 462 johnoel
	..\..\utilities\sed -f sedflex lex.yy.c > tpl2cpp.c
24 1 johnoel
	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