Revision 757 branches/threaded2/tests/nst/Makefile

Makefile (revision 757)
10 10
.PHONY: all rules
11 11

  
12 12
ifeq ($(HOSTNAME),katsuo)
13
  export ADMB_HOME=/home/jsibert/admb-threaded2/build/dists/admb_gcc411_fedora8
13
  #export ADMB_HOME=/home/jsibert/admb-threaded2/build/dists/admb_gcc411_fedora8
14
  export ADMB_HOME=/home/davef/admb-threaded/build/admb-linux-gcc4.8.0-64bit
15

  
14 16
else
15 17
  export ADMB_HOME=/home/jsibert/admb/admb-threaded2/build/dists/admb_gcc411_fedora8
16 18
endif
17 19
CC = g++
18 20
LL = g++
21
#${CXX}  -pthread -ggdb -Wall -fpermissive -DUSE_PTHREADS -DUSE_LAPLACE -Dlinux 
22
CFLAGS = -pthread -ggdb -Wall -fpermissive -DUSE_PTHREADS -DUSE_LAPLACE -Dlinux -c -I. -I$(ADMB_HOME)/include -I$(ADMB_HOME)/contrib
23
#CFLAGS = -c -pthread -fpermissive -m64 -Wall -Wno-deprecated -ggdb -I. -I$(ADMB_HOME)/include -I$(ADMB_HOME)/contrib -D__GNUDOS__ -Dlinux -DUSE_PTHREADS -DUSE_LAPLACE -DSAFE_ARRAYS
19 24

  
20
CFLAGS = -c -pthread -fpermissive -m64 -Wall -Wno-deprecated -ggdb -I. -I$(ADMB_HOME)/include -I$(ADMB_HOME)/contrib -D__GNUDOS__ -Dlinux -DUSE_LAPLACE -DSAFE_ARRAYS
25
#LFLAGS = -L$(ADMB_HOME)/lib -ldf1b2s -ladmod -ladt -lads -ldf1b2s -ladmod -ladt -lads -ldf1b2s -ladmod -ladt -lads -lpthread
26
LFLAGS = -L${ADMB_HOME}/lib -L/usr/lib -ladt -lads -ladmod -ldf1b2s -ladt -lads -ladmod -ldf1b2s -ladt -lads -ladmod -ldf1b2s -ladt -lads -ladmod -ldf1b2s -lpthread
21 27

  
28
# generates multiple definition linker errors
29
#OBJECTS=adpthread_manager.o admb_thread.o nst.o
30
OBJECTS=thread_stuff.o admb_thread.o nst.o
22 31

  
23
LFLAGS = -L$(ADMB_HOME)/lib -ldf1b2s -ladmod -ladt -lads -ldf1b2s -ladmod -ladt -lads -ldf1b2s -ladmod -ladt -lads -lpthread
24

  
25
OBJECTS=adpthread_manager.o admb_thread.o nst.o
26

  
27 32
# link the object file into the executable 
28 33
nst: $(OBJECTS) 
29 34
	@echo
......
97 102
	rm -fv variance
98 103
	rm -fv eigv.rpt
99 104
	rm -fv make.out
100
	rm -fv zzz*
105
	rm -fv zzz-nst
101 106
	rm -fv new_sim_thread3

Also available in: Unified diff