Revision 1418 trunk/contrib/gdbprintlib/GNUmakefile

GNUmakefile (revision 1418)
2 2
EXT=.sh
3 3
endif
4 4

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

  
7
$(PREFIX_OBJ)%.obj: %.cpp
7
all: $(OBJECTS)
8

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

  
16 20
test:

Also available in: Unified diff