Revision 895

trunk/contrib/ecolib/GNUmakefile (revision 895)
1 1
include objects.lst
2 2

  
3 3
all: $(addprefix $(PREFIX_OBJ), $(OBJECTS))
4
ifeq ($(SHELL),sh.exe)
5
	copy ecolib.h $(ADMB_HOME)\contrib\include
6
else
7
	cp ecolib.h $(ADMB_HOME)/contrib/include
8
endif
9 4

  
10 5
test:
11 6
ifneq ($(SHELL),sh.exe)
trunk/contrib/qfclib/GNUmakefile (revision 895)
1 1
include objects.lst
2 2

  
3 3
all: $(addprefix $(PREFIX_OBJ), $(OBJECTS))
4
ifeq ($(SHELL),sh.exe)
5
	copy qfclib.h $(ADMB_HOME)\contrib\include
6
else
7
	cp qfclib.h $(ADMB_HOME)/contrib/include
8
endif
9 4

  
10 5
test:
11
	ADMB_HOME="../$(ADMB_HOME)" PATH="../$(ADMB_HOME)/bin:$(PATH)" make --directory=tests
6
	ADMB_HOME="$(ADMB_HOME)" PATH="$(ADMB_HOME)/bin:$(PATH)" make --directory=tests
12 7

  
13 8
clean:
14 9
ifneq ($(SHELL),sh.exe)
trunk/contrib/sample/GNUmakefile (revision 895)
24 24
	@rm -f admodel.dep
25 25

  
26 26
$(PREFIX_OBJ)%.obj: %.cpp
27
	$(CXX) $(CXXFLAGS) -o $@ $<
27
	$(CXX) -c $(CXXFLAGS) -o $@ $<
trunk/contrib/ad2csv/GNUmakefile (revision 895)
1 1
all:
2 2
	ADMB_HOME="$(ADMB_HOME)" PATH="$(ADMB_HOME)/bin:$(PATH)" admb ad2csv.cpp main.cpp
3
	mv ad2csv $(ADMB_HOME)/bin
3
	mv ad2csv $(ADMB_HOME)/contrib/bin
trunk/contrib/statslib/GNUmakefile (revision 895)
1 1
include objects.lst
2 2

  
3 3
all: $(addprefix $(PREFIX_OBJ), $(OBJECTS))
4
ifeq ($(SHELL),sh.exe)
5
	copy statsLib.h $(ADMB_HOME)\contrib\include
6
else
7
	cp statsLib.h $(ADMB_HOME)/contrib/include
8
endif
9 4

  
10 5
clean:
11 6

  
......
15 10
else
16 11
	$(CXX) -c $(CXXFLAGS) -o$@ $<
17 12
endif
18

  
trunk/contrib/GNUmakefile (revision 895)
10 10

  
11 11
all: contribs build-ad2csv
12 12

  
13
contribs: build-statslib build-ecolib build-qfclib
13
contribs: build-statslib build-ecolib build-qfclib build-sample
14 14
ifeq ($(SHELL),sh.exe)
15 15
	copy contrib.h $(ADMB_HOME)\contrib\include
16 16
else
......
23 23
build-statslib:
24 24
	$(MAKE) --directory=statslib CXX=$(CXX) CXXFLAGS="-DSAFE_ALL $(CXXFLAGS)" PREFIX_OBJ=$(LIBPATH)/saflp-contrib-statslib-
25 25
	$(MAKE) --directory=statslib CXX=$(CXX) CXXFLAGS="-DOPT_LIB $(CXXFLAGS)" PREFIX_OBJ=$(LIBPATH)/optlp-contrib-statslib-
26
ifeq ($(SHELL),sh.exe)
27
	copy statslib\statsLib.h $(ADMB_HOME)\contrib\include
28
else
26 29
	cp statslib/statsLib.h $(ADMB_HOME)/contrib/include
30
endif
27 31

  
28 32
build-ecolib:
29 33
	$(MAKE) --directory=ecolib CXX=$(CXX) CXXFLAGS="-DSAFE_ALL $(CXXFLAGS)" PREFIX_OBJ=$(LIBPATH)/saflp-contrib-ecolib-
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff