Statistics
| Revision:

root / branches / pthreads-737 / src / df1b2-separable / optg32-rh8-laplace.mak @ 765

History | View | Annotate | Download (749 Bytes)

1
LIBPATH =gcc32-rh8olp
2
LIBNAME = libdf1b2o.a
3
SRCDIR =  src
4
vpath %.obj $(LIBPATH)
5

    
6
.SUFFIXES: .obj .cpp
7

    
8
.PHONY: disk
9
include objects.lst
10

    
11
all: disk
12

    
13
disk: $(DISKDIR)/lib/$(LIBNAME) $(DISKDIR)/bin/tpl2rem
14
	cp adpool.h $(DISKDIR)/include
15
	cp adrndeff.h $(DISKDIR)/include
16
	cp df1b2fun.h $(DISKDIR)/include
17
	cp df3fun.h $(DISKDIR)/include
18
	cp df1b2fnl.h $(DISKDIR)/include
19
	cp df1b2loc.h $(DISKDIR)/include
20
	cp smartbuf.h $(DISKDIR)/include
21
	cp seddf1b* sedf1b2* $(DISKDIR)/bin
22

    
23
$(DISKDIR)/lib/$(LIBNAME): $(OBJ0) $(OBJ1) $(OBJ2) $(OBJ3)
24
	$(AR) -rs $@ $(LIBPATH)/*.obj
25

    
26
$(DISKDIR)/bin/tpl2rem: tpl2rem.c
27
	$(CC) $(CFLAGS) -o $@ $<
28

    
29
tpl2rem.c: tpl2rem.lex
30
	flex $<
31
	sed -f sedflex lex.yy.c > $@
32

    
33
%.obj: %.cpp
34
	$(CXX) $(CXXFLAGS)  $< -o $(LIBPATH)/$*.obj