Statistics
| Revision:

root / branches / pthreads-737 / contrib / ecolib / GNUmakefile @ 765

History | View | Annotate | Download (686 Bytes)

1
.PHONY: all test
2
.SUFFIXES: .obj .cpp
3

    
4
vpath %.obj $(LIBPATH)
5

    
6
include objects.lst
7

    
8
all: $(OBJECTS)
9
ifeq ($(CXX),g++.exe)
10
	copy ecolib.h $(DISKDIR)
11
else
12
	cp ecolib.h $(DISKDIR)
13
endif
14

    
15
test:
16
	make --directory=test
17

    
18
clean:
19
	@rm -vf test/tests.log
20
	@rm -vf test/tests.cpp
21
	@rm -vf test/admodel.hes
22
	@rm -vf test/tests.par
23
	@rm -vf test/tests.cor
24
	@rm -vf test/tests.pin
25
	@rm -vf test/variance
26
	@rm -vf test/admodel.cov
27
	@rm -vf test/tests.std
28
	@rm -vf test/tests.htp
29
	@rm -vf test/eigv.rpt
30
	@rm -vf test/tests
31
	@rm -vf test/tests.bar
32
	@rm -vf test/tests.dat
33
	@rm -vf test/fmin.log
34
	@rm -vf test/tests.eva
35
	@rm -vf test/admodel.dep
36

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