Revision 1086

trunk/src/GNUmakefile (revision 1086)
15 15
  LIBPATH=..\build\objects\dist
16 16
  CXXFLAGS_INCLUDES:=-I..\${DISK}\include
17 17
  PWD=$(shell cd)
18
  ifndef MINGW_HOME
19
    PATH:=..\..\utilities\mingw\bin:$(PATH)
20
    AR=..\utilities\mingw\bin\ar
21
    MAKE=..\utilities\make
22
  endif
18
  PATH:=$(PATH);..\utilities\mingw\bin;..\utilities
23 19
else
24 20
  DISK=../build/dist
25 21
  LIBPATH=../build/objects/dist
......
371 367
verify:
372 368
ifndef USE_ADMB_HOME
373 369
ifeq ($(TERMINAL),dos)
374
	$(MAKE) ADMB_HOME="$(CURDIR)\${DISK}" PATH="$(CURDIR)\${DISK}\bin:$(PATH)" CXXFLAGS="${ADMB_CXXFLAGS}" LDFLAGS="${ADMB_LDFLAGS}" SAFE_OPTION=1 -C $(DISK)\examples --file=Makefile all
370
	$(MAKE) ADMB_HOME="$(CURDIR)\${DISK}" PATH="$(CURDIR)\${DISK}\bin:$(PATH):$(CURDIR)\..\utilities:$(CURDIR)\..\utilities\mingw\bin" CXXFLAGS="${ADMB_CXXFLAGS}" LDFLAGS="${ADMB_LDFLAGS}" SAFE_OPTION=1 -C $(DISK)\examples --file=Makefile all
375 371
	pushd ..\build\dist & ..\..\scripts\get-outputs.bat > "..\..\benchmarks-saf.txt" & popd
376
	$(MAKE) ADMB_HOME="$(CURDIR)\${DISK}" PATH="$(CURDIR)\${DISK}\bin:$(PATH)" CXXFLAGS="${ADMB_CXXFLAGS}" LDFLAGS="${ADMB_LDFLAGS}" -C $(DISK)\examples --file=Makefile all
372
	$(MAKE) ADMB_HOME="$(CURDIR)\${DISK}" PATH="$(CURDIR)\${DISK}\bin:$(PATH):$(CURDIR)\..\utilities:$(CURDIR)\..\utilities\mingw\bin" CXXFLAGS="${ADMB_CXXFLAGS}" LDFLAGS="${ADMB_LDFLAGS}" -C $(DISK)\examples --file=Makefile all
377 373
	pushd ..\build\dist & ..\..\scripts\get-outputs.bat > "..\..\benchmarks-saf.txt" & popd
378 374
else
379 375
	PATH="${PWD}/${DISK}/bin:$(PATH)" CXXFLAGS="${ADMB_CXXFLAGS}" LDFLAGS="${ADMB_LDFLAGS}" SAFE_OPTION=1 $(MAKE) -C $(DISK)/examples all
trunk/src/nh99/GNUmakefile (revision 1086)
1
ifeq ($(OS),Windows_NT)
2
  ifeq ($(TERM),cygwin)
3
    TERMINAL=cygwin
4
  else
5
    TERMINAL=dos
6
    PATH:=$(PATH);..\..\utilities;..\..\utilities\mingw\bin
7
  endif
8
endif
9

  
1 10
ifeq ($(TERMINAL),dos)
2 11
bins: $(DISKDIR)\bin\tpl2cpp.exe
3 12

  
4
$(DISKDIR)\bin\tpl2cpp.exe: tpl2cpp-winflex.c
13
$(DISKDIR)\bin\tpl2cpp.exe: tpl2cpp.c
5 14
	$(CC) $(CFLAGS) -Wno-format -o $@ $<
15

  
16
tpl2cpp.c: lex.yy.c
17
	sed -f sedflex lex.yy.c > $@
18

  
19
lex.yy.c: tpl2cpp.lex
20
	flex tpl2cpp.lex
6 21
else
7 22
bins: $(DISKDIR)/bin/tpl2cpp
8 23

  
trunk/src/df1b2-separable/GNUmakefile (revision 1086)
1
ifeq ($(OS),Windows_NT)
2
  ifeq ($(TERM),cygwin)
3
    TERMINAL=cygwin
4
  else
5
    TERMINAL=dos
6
    PATH:=$(PATH);..\..\utilities;..\..\utilities\mingw\bin
7
  endif
8
endif
9

  
1 10
ifeq ($(TERMINAL),dos)
2 11
bins: $(DISKDIR)\bin\tpl2rem.exe
3 12

  
4
$(DISKDIR)\bin\tpl2rem.exe: tpl2rem-winflex.c
13
$(DISKDIR)\bin\tpl2rem.exe: tpl2rem.c
5 14
	$(CC) $(CFLAGS) -o $@ $<
15

  
16
tpl2rem.c: lex.yy.c
17
	sed -f sedflex lex.yy.c > $@
18

  
19
lex.yy.c: tpl2rem.lex
20
	flex -w tpl2rem.lex 
21

  
6 22
else
7 23
bins: $(DISKDIR)/bin/tpl2rem
8 24

  

Also available in: Unified diff