src/modules/phonenum/Makefile
12b2a249
 #
 # WARNING: do not run this directly, it should be run by the master Makefile
 
 include ../../Makefile.defs
 auto_gen=
 NAME=phonenum.so
 
 CXX=g++
 LD=g++
 LIB_DIR = /opt/local/lib
 
3e803241
 LIBS= -L${LIB_DIR} cphonenumber.o -lphonenumber -lgeocoding
12b2a249
 
19460b83
 DEFS+= -I/opt/local/include
12b2a249
 
 CXXFLAGS=$(CFLAGS:-Wno-deprecated option=)
 CXXFLAGS+=-Wno-write-strings -Wno-deprecated -Wno-unused-function -Wno-sign-compare -Wno-strict-aliasing
 
 include ../../Makefile.modules
 
 cphonenumber.o: cphonenumber.cpp cphonenumber.h
 	@echo "Compiling $<"
75c5a20a
 	$(CXX) -std=c++11 $(CXXFLAGS) $(CFLAGS) $(C_DEFS) $(DEFS) -c $< -o $@
12b2a249
 
 phonenum.so: cphonenumber.o
f170b300
 
 modclean:
 	-@rm -f cphonenumber.o
 
 clean clean-modules: modclean
 
 proper realclean distclean maintainer-clean: modclean