Revision 1412 trunk/contrib/src/GNUmakefile

GNUmakefile (revision 1412)
1
ifeq ($(OS),Windows_NT)
2
EXT=.sh
3
endif
4

  
1 5
all: $(PREFIX_OBJ)contrib.obj
2 6

  
3 7
$(PREFIX_OBJ)%.obj: %.cpp
......
5 9
	..\..\admb -c $(OPTION) $<
6 10
	copy $(basename $<).obj $@
7 11
else
8
	../../admb -c $(OPTION) $<
12
	../../admb$(EXT) -c $(OPTION) $<
9 13
	cp $(basename $<).obj $@
10 14
endif
11 15

  
......
14 18
	..\..\admb $(OPTION) simple.tpl
15 19
	simple
16 20
else
17
	../../admb $(OPTION) simple.tpl
21
	../../admb$(EXT) $(OPTION) simple.tpl
18 22
	./simple
19 23
endif
20 24

  

Also available in: Unified diff