src/FstProxy/Makefile
raw| 1 | FST_CPPFLAGS=-I../../fst -I.. -DFST_DONT_DEPRECATE_UNKNOWN=1 |
| 2 | FST_CXXFLAGS=-g -O0 -fPIC |
| 3 | |
| 4 | LIBS= |
| 5 | |
| 6 | archs: FstProxy.32.so FstProxy.64.so |
| 7 | |
| 8 | FstProxy.32.so: ARCHFLAGS=-m32 |
| 9 | FstProxy.64.so: ARCHFLAGS=-m64 |
| 10 | |
| 11 | FstProxy.so FstProxy.32.so FstProxy.64.so: FstProxy.cpp ../../fst/fst.h ../fst_utils.h |
| 12 | $(CXX) -shared $(FST_CPPFLAGS) $(CPPFLAGS) $(FST_CXXFLAGS) $(CXXFLAGS) $(ARCHFLAGS) $< -o $@ $(LIBS) |
| 13 | |
| 14 | .PHONY: clean archs default |
| 15 | clean: |
| 16 | rm -f *.so |