Statistics
| Revision:

root / trunk / contrib / ecolib / GNUmakefile @ 1409

History | View | Annotate | Download (790 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
ifneq ($(SHELL),sh.exe)
16
	$(MAKE) --directory=tests
17
endif
18

    
19
clean:
20
ifneq ($(SHELL),sh.exe)
21
	@rm -vf *.obj
22
	@rm -vf *.o
23
	@rm -vf tests/tests.log
24
	@rm -vf tests/tests.cpp
25
	@rm -vf tests/admodel.hes
26
	@rm -vf tests/tests.par
27
	@rm -vf tests/tests.cor
28
	@rm -vf tests/tests.pin
29
	@rm -vf tests/variance
30
	@rm -vf tests/admodel.cov
31
	@rm -vf tests/tests.std
32
	@rm -vf tests/tests.htp
33
	@rm -vf tests/eigv.rpt
34
	@rm -vf tests/tests
35
	@rm -vf tests/tests.bar
36
	@rm -vf tests/tests.dat
37
	@rm -vf tests/fmin.log
38
	@rm -vf tests/tests.eva
39
	@rm -vf tests/admodel.dep
40
endif