Statistics
| Revision:

root / branches / pthreads-737 / examples / autodif / minimize / Makefile @ 765

History | View | Annotate | Download (623 Bytes)

1
SRCS=userfun.cpp
2
run: minimize t
3
	@./minimize
4
	@./t
5

    
6
minimize: $(SRCS) minimize.cpp
7
	@printf "Compiling executable $@ ...";g++ $^ -I. -fpermissive -Wno-deprecated -I$(ADMB_HOME)/include -L$(ADMB_HOME)/lib -DUSE_LAPLACE -D__GNUDOS__ -Dlinux -DOPT_LIB -O3 -ldf1b2o -ladmod -ladt -lado -ldf1b2o -ladmod -ladt -lado -o$@; printf "\n"
8

    
9
t: t.cpp
10
	@printf "Compiling executable $@ ...";g++ $^ -I. -fpermissive -Wno-deprecated -I$(ADMB_HOME)/include -L$(ADMB_HOME)/lib -DUSE_LAPLACE -D__GNUDOS__ -Dlinux -DOPT_LIB -O3 -ldf1b2o -ladmod -ladt -lado -ldf1b2o -ladmod -ladt -lado -o$@; printf "\n"
11

    
12
clean:
13
	@rm -vf minimize t fmin.log