Gearman Study

view imgsize/Makefile @ 12:3a774a6d883d

imgsize fix gethostbyname()
author shokai <hashimoto@shokai.org>
date Sun Jan 03 12:22:20 2010 +0900 (2 months ago)
parents 78cac05f2e60
children ddf8cf7a0654
line source
1 # Mac用Makefile
2 SRC = imgsizeWorker.cpp
3 DST = imgsizeWorker
5 prefix=/opt/local
6 INCPATH=$(prefix)/include
7 LIBPATH=$(prefix)/lib
9 CV_LIBS= -lcv -lcvaux -lcxcore -lhighgui
10 BOOST_LIBS= $(LIBPATH)/libboost_program_options-mt.a
12 GEAR_INCPATH=/usr/local/include
13 GEAR_LIBPATH=/usr/local/lib
14 GEAR_LIBS=$(GEAR_LIBPATH)/libgearman.a
16 all:
17 g++ -O $(SRC) -o $(DST) -I$(INCPATH)/opencv -L. -L$(LIBPATH) $(CV_LIBS) -I$(INCPATH)/boost $(BOOST_LIBS) -I$(GEAR_INCPATH)/libgearman -L. -L$(GEAR_LIBPATH) $(GEAR_LIBS)