Statistics
| Revision:

root / trunk / contrib / src / GNUmakefile @ 1379

History | View | Annotate | Download (545 Bytes)

1
all: $(addprefix $(PREFIX_OBJ), contrib.obj)
2

    
3
test:
4
	../../admb simple.tpl
5
	./simple
6

    
7
clean:
8
	@rm -f simple.obj
9
	@rm -f simple.o
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 simple.exe
16
	@rm -f admodel.cov
17
	@rm -f simple.bar
18
	@rm -f eigv.rpt
19
	@rm -f simple.eva
20
	@rm -f fmin.log
21
	@rm -f simple.log
22
	@rm -f simple.cpp
23
	@rm -f simple.par
24
	@rm -f simple.cor
25
	@rm -f admodel.dep
26

    
27
$(PREFIX_OBJ)%.obj: %.cpp
28
ifeq ($(CXX),cl)
29
	$(CXX) /c $(CXXFLAGS) /Fo$@ $<
30
else
31
	$(CXX) -c $(CXXFLAGS) -o $@ $<
32
endif