Statistics
| Revision:

root / trunk / contrib / gdbprintlib / GNUmakefile @ 1418

History | View | Annotate | Download (498 Bytes)

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

    
5
OBJECTS=$(addprefix $(PREFIX), gdbprintlib.obj)
6

    
7
all: $(OBJECTS)
8

    
9
$(PREFIX)%.obj: %.cpp
10
ifeq ($(SHELL),sh.exe)
11
	..\..\admb -c $(OPTION) $<
12
	copy $(basename $<).obj $@
13
	copy gdbprintlib.h $(CONTRIB_DIR)\include
14
else
15
	../../admb$(EXT) -c $(OPTION) $<
16
	cp $(basename $<).obj $@
17
	cp gdbprintlib.h $(CONTRIB_DIR)/include
18
endif
19

    
20
test:
21

    
22
clean:
23
ifeq ($(SHELL),sh.exe)
24
	del gdbprintlib.obj
25
	del gdbprintlib.o
26
else
27
	@rm -vf gdbprintlib.obj
28
	@rm -vf gdbprintlib.o
29
endif