Revision 1409 trunk/contrib/gdbprintlib/GNUmakefile

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

  
5 1
all: $(addprefix $(PREFIX_OBJ), gdbprintlib.obj)
6 2

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

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

Also available in: Unified diff