Revision 1408 trunk/contrib/gdbprintlib/GNUmakefile

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

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

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

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

Also available in: Unified diff