Revision 975 trunk/contrib/src/GNUmakefile

GNUmakefile (.../src/GNUmakefile) (revision 975)
1
all: $(addprefix $(PREFIX_OBJ), sample.obj)
2
	cp sample.h $(ADMB_HOME)/contrib/include
1
ifndef ADMB_HOME
2
ADMB_HOME=../../build/dist
3
endif
3 4

  
5
all: $(addprefix $(PREFIX_OBJ), contrib.obj)
6
	cp contrib.h $(ADMB_HOME)/contrib/include
7

  
4 8
test:
5 9
	ADMB_HOME="$(ADMB_HOME)" PATH="$(ADMB_HOME)/bin:$(PATH)" admb simple.tpl
6 10
	./simple

Also available in: Unified diff