Revision 1389 trunk/contrib/gdbprintlib/GNUmakefile

GNUmakefile (revision 1389)
1
$(PREFIX_OBJ)gdbprintlib.obj: gdbprintlib.cpp
1
all: $(addprefix $(PREFIX_OBJ), gdbprintlib.obj)
2

  
3
$(PREFIX_OBJ)%.obj: %.cpp
2 4
ifeq ($(SHELL),sh.exe)
3
	..\..\admb.cmd -c gdbprintlib.cpp
4
	copy gdbprintlib.obj $(PREFIX_OBJ)gdbprintlib.obj
5
	..\..\admb -c $(OPTION) $<
6
	copy $(basename $<).obj $@
5 7
else
6
	../../admb -c gdbprintlib.cpp
7
	cp gdbprintlib.o $(PREFIX_OBJ)gdbprintlib.o
8
	../../admb -c $(OPTION) $<
9
	cp $(basename $<).obj $@
8 10
endif
9 11

  
12
test:
13

  
10 14
clean:
11 15
ifeq ($(SHELL),sh.exe)
12 16
	del gdbprintlib.obj

Also available in: Unified diff