Statistics
| Revision:

root / trunk / contrib / qfclib / GNUmakefile @ 1409

History | View | Annotate | Download (821 Bytes)

1
include objects.lst
2

    
3
all: $(addprefix $(PREFIX_OBJ), $(OBJECTS))
4

    
5
$(PREFIX_OBJ)%.obj: %.cpp
6
ifeq ($(SHELL),sh.exe)
7
	..\..\admb -c $(OPTION) $<
8
	copy $(basename $<).obj $@
9
else
10
	../../admb -c $(OPTION) $<
11
	cp $(basename $<).obj $@
12
endif
13

    
14
test:
15
	$(MAKE) --directory=tests
16

    
17
clean:
18
ifneq ($(SHELL),sh.exe)
19
	@rm -vf *.obj
20
	@rm -vf *.o
21
	@rm -vf tests/testfunction.htp
22
	@rm -vf tests/testfunction
23
	@rm -vf tests/nf1b2list1
24
	@rm -vf tests/variance
25
	@rm -vf tests/f1b2list12
26
	@rm -vf tests/f1b2list13
27
	@rm -vf tests/testfunctionre.log
28
	@rm -vf tests/testfunctionre.cpp
29
	@rm -vf tests/eigv.rpt
30
	@rm -vf tests/testfunction.log
31
	@rm -vf tests/testfunction.cpp
32
	@rm -vf tests/testfunctionre.htp
33
	@rm -vf tests/nf1b2list12
34
	@rm -vf tests/f1b2list1
35
	@rm -vf tests/nf1b2list13
36
	@rm -vf tests/fmin.log
37
	@rm -vf tests/testfunctionre
38
endif