Revision 1053 branches/threaded2/examples/threaded/multisimple/Makefile

Makefile (revision 1053)
13 13
CC=/usr/local/gcc-4.8.0/bin/g++
14 14
LL = $(CC)
15 15

  
16
#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
17
CFLAGS = -c -pthread -fpermissive -m64 -Wall -Wno-deprecated -ggdb -I. -I$(ADMB_HOME)/include -I$(ADMB_HOME)/contrib -D__GNUDOS__ -Dlinux -DUSE_LAPLACE -DOPT_LIB
16
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
17
#CFLAGS = -c -pthread -fpermissive -m64 -Wall -Wno-deprecated -ggdb -I. -I$(ADMB_HOME)/include -I$(ADMB_HOME)/contrib -D__GNUDOS__ -Dlinux -DUSE_LAPLACE -DOPT_LIB
18 18

  
19 19

  
20
#LFLAGS = -L$(ADMB_HOME)/lib -ldf1b2s -ladmod -ladt -lads -ldf1b2s -ladmod -ladt -lads -ldf1b2s -ladmod -ladt -lads -lpthread
21
LFLAGS = -L$(ADMB_HOME)/lib -ldf1b2s -ladmod -ladt -lado -ldf1b2o -ladmod -ladt -lado -ldf1b2o -ladmod -ladt -lado -lpthread
20
LFLAGS = -L$(ADMB_HOME)/lib -ldf1b2s -ladmod -ladt -lads -ldf1b2s -ladmod -ladt -lads -ldf1b2s -ladmod -ladt -lads -lpthread
21
#LFLAGS = -L$(ADMB_HOME)/lib -ldf1b2s -ladmod -ladt -lado -ldf1b2o -ladmod -ladt -lado -ldf1b2o -ladmod -ladt -lado -lpthread
22 22

  
23 23
#OBJECTS=adpthread_manager.o msimple.o simple_thread.o
24
OBJECTS=msimple.o simple_thread.o
24
OBJECTS=msimple.o
25 25

  
26 26
# link the object file into the executable 
27 27
msimple: $(OBJECTS) 
......
30 30
	$(LL) -o $@ $^ $(LFLAGS)
31 31
	@echo ------- Done
32 32

  
33
msimple1: msimple1.o
34
	@echo
35
	@echo ------- Link $@
36
	$(LL) -o $@ $^ $(LFLAGS)
37
	@echo ------- Done
38

  
33 39
simple_thread.o: simple_thread.cpp msimple.tpl msimple.htp
34 40
	@echo
35 41
	@echo ------- Compile $<
......
77 83

  
78 84
clean:
79 85
	rm -fv msimple.cpp
86
	rm -fv msimple1.cpp
80 87
	rm -fv msimple
88
	rm -fv msimple1
81 89
	rm -fv *.o
82 90
	rm -fv *.htp
83 91
	rm -fv *.log
92
	rm -fv *.std
93
	rm -fv *.cov
94
	rm -fv *.hes
95
	rm -fv *.eva
96
	rm -fv *.bar
84 97
	rm -fv derivatives
85 98
	rm -fv variance
86 99
	rm -fv eigv.rpt

Also available in: Unified diff