Statistics
| Revision:

root / trunk / contrib / gdbprintlib / GNUmakefile @ 1412

History | View | Annotate | Download (402 Bytes)

1
ifeq ($(OS),Windows_NT)
2
EXT=.sh
3
endif
4

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

    
7
$(PREFIX_OBJ)%.obj: %.cpp
8
ifeq ($(SHELL),sh.exe)
9
	..\..\admb -c $(OPTION) $<
10
	copy $(basename $<).obj $@
11
else
12
	../../admb$(EXT) -c $(OPTION) $<
13
	cp $(basename $<).obj $@
14
endif
15

    
16
test:
17

    
18
clean:
19
ifeq ($(SHELL),sh.exe)
20
	del gdbprintlib.obj
21
	del gdbprintlib.o
22
else
23
	@rm -vf gdbprintlib.obj
24
	@rm -vf gdbprintlib.o
25
endif