Revision 1408 trunk/contrib/statslib/GNUmakefile

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

  
1 5
include objects.lst
2 6

  
3 7
all: $(addprefix $(PREFIX_OBJ), $(OBJECTS))
......
3 7

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

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

Also available in: Unified diff