Statistics
| Revision:

root / trunk / contrib / sample / GNUmakefile @ 895

History | View | Annotate | Download (541 Bytes)

1
all: $(addprefix $(PREFIX_OBJ), sample.obj)
2
	cp sample.h $(ADMB_HOME)/contrib/include
3

    
4
test:
5
	ADMB_HOME="$(ADMB_HOME)" PATH="$(ADMB_HOME)/bin:$(PATH)" admb simple.tpl
6
	./simple
7

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

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