Statistics
| Revision:

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

History | View | Annotate | Download (747 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 qfclib.h $(DISKDIR)
11
else
12
	cp qfclib.h $(DISKDIR)
13
endif
14

    
15
test:
16
	make --directory=test
17

    
18
clean:
19
	@rm -vf test/testfunction.htp
20
	@rm -vf test/testfunction
21
	@rm -vf test/nf1b2list1
22
	@rm -vf test/variance
23
	@rm -vf test/f1b2list12
24
	@rm -vf test/f1b2list13
25
	@rm -vf test/testfunctionre.log
26
	@rm -vf test/testfunctionre.cpp
27
	@rm -vf test/eigv.rpt
28
	@rm -vf test/testfunction.log
29
	@rm -vf test/testfunction.cpp
30
	@rm -vf test/testfunctionre.htp
31
	@rm -vf test/nf1b2list12
32
	@rm -vf test/f1b2list1
33
	@rm -vf test/nf1b2list13
34
	@rm -vf test/fmin.log
35
	@rm -vf test/testfunctionre
36

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