Statistics
| Revision:

root / trunk / contrib / qfclib / GNUmakefile @ 325

History | View | Annotate | Download (688 Bytes)

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

    
4
vpath %.obj $(LIBPATH)
5

    
6
include objects.lst
7

    
8
all: $(OBJECTS)
9
	cp qfclib.h $(DISKDIR)
10

    
11
test:
12
	make --directory=test
13

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

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