www.pudn.com > xml_ptr.zip > Makefile


INCPATH	= -I. -I/usr/local/share/boost_1_33_1
BMFLAGS	= -g
CFLAGS	= ${BMFLAGS} ${INCPATH}
LDFLAGS	= -L/usr/local/share/boost_1_33_1/bin/boost/libs/regex/build/libboost_regex.so/gcc/release/shared-linkable-true
LDLIBS	= -lboost_regex-gcc-1_33_1
LFLAGS	= -Xlinker -rpath -Xlinker . -Xlinker -rpath-link -Xlinker lib/sles10 
CC	= g++

PROGRAMS	= out
bomc_OFILES	= XmlHandler.o main.o

.SUFFIXES: .cpp
.cpp.o:
	${CC} -c -g  ${INCPATH} ${LDFLAGS}   -o $@ $<

all:		objects ${PROGRAMS}
objects:	${bomc_OFILES}	


clean:
	rm -f ${bomc_OFILES} ${PROGRAMS}

clobber:	clean
	rm -f a.out core ERRS make.out *~

out: ${bomc_OFILES}
	$(CC)  -g ${LDFLAGS} ${bomc_OFILES} ${LDLIBS} -o $@
	#$(CC) $(LFLAGS) ${LDFLAGS} ${bomc_OFILES} ${LDLIBS} -o $@