Revision 468 trunk/contrib/GNUmakefile

GNUmakefile (revision 468)
6 6
CXXFLAGS:=-c $(CXXFLAGS) -Wall -DUSE_LAPLACE -D__SPDLL__ -D__GNUDOS__ -Dlinux -I../${DISK}/include
7 7
endif
8 8

  
9
all: disk ad2csv  statslib ecolib qfclib libcontribo.a libcontribs.a
9
all: disk statslib ecolib qfclib libcontribo.a libcontribs.a ad2csv
10 10

  
11 11
disk:
12 12
	mkdir -p ${DISK}/contrib
......
15 15
	cp contrib.h ${DISK}/contrib
16 16

  
17 17
ad2csv:
18
	$(MAKE) --directory=$@ CXX=$(CXX) CXXFLAGS="-DOPT_LIB $(CXXFLAGS)" LIBPATH=../${LIBPATH}/contrib-olp DISKDIR=../${DISK}/contrib
18
	ADMB_HOME=../${DISK} PATH=../${DISK}/bin:$(PATH) $(MAKE) --directory=$@
19 19

  
20 20
statslib:
21 21
	$(MAKE) --directory=$@ CXX=$(CXX) CXXFLAGS="-DOPT_LIB $(CXXFLAGS)" LIBPATH=../${LIBPATH}/contrib-olp DISKDIR=../${DISK}/contrib

Also available in: Unified diff