Revision 1409 trunk/contrib/statslib/GNUmakefile

GNUmakefile (revision 1409)
1
ifneq (,$(findstring sh.exe,$(SHELL)))
2
  SHELL=cmd
3
endif
4

  
5 1
include objects.lst
6 2

  
7 3
all: $(addprefix $(PREFIX_OBJ), $(OBJECTS))
8 4

  
9 5
$(PREFIX_OBJ)%.obj: %.cpp
10
ifeq ($(SHELL),cmd)
6
ifeq ($(SHELL),sh.exe)
11 7
	..\..\admb -c $(OPTION) $<
12 8
	copy $(basename $<).obj $@
13 9
else
......
16 12
endif
17 13

  
18 14
clean:
19
ifeq ($(SHELL),cmd)
15
ifeq ($(SHELL),sh.exe)
20 16
	-del *.obj
21 17
	-del *.o
22 18
else

Also available in: Unified diff