Statistics
| Revision:

root / trunk / contrib / src / GNUmakefile @ 975

History | View | Annotate | Download (594 Bytes)

1
ifndef ADMB_HOME
2
ADMB_HOME=../../build/dist
3
endif
4

    
5
all: $(addprefix $(PREFIX_OBJ), contrib.obj)
6
	cp contrib.h $(ADMB_HOME)/contrib/include
7

    
8
test:
9
	ADMB_HOME="$(ADMB_HOME)" PATH="$(ADMB_HOME)/bin:$(PATH)" admb simple.tpl
10
	./simple
11

    
12
clean:
13
	@rm -f sample.obj
14
	@rm -f simple.std
15
	@rm -f simple.htp
16
	@rm -f admodel.hes
17
	@rm -f variance
18
	@rm -f simple
19
	@rm -f admodel.cov
20
	@rm -f simple.bar
21
	@rm -f eigv.rpt
22
	@rm -f simple.eva
23
	@rm -f fmin.log
24
	@rm -f simple.log
25
	@rm -f simple.cpp
26
	@rm -f simple.par
27
	@rm -f simple.cor
28
	@rm -f admodel.dep
29

    
30
$(PREFIX_OBJ)%.obj: %.cpp
31
	$(CXX) -c $(CXXFLAGS) -o $@ $<