diff options
author | philblunsom <philblunsom@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-15 03:39:32 +0000 |
---|---|---|
committer | philblunsom <philblunsom@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-15 03:39:32 +0000 |
commit | c0eee37401d3731555346cb260330049b5dc99e7 (patch) | |
tree | a34bcd2309c23ca4d02ab3938f888a349aad12b2 /gi/pyp-topics/src/Makefile.mpi | |
parent | a5b1162c68d6ff5bc52b646efb563a0077cd1d2a (diff) |
working on the mpi version
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@257 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'gi/pyp-topics/src/Makefile.mpi')
-rw-r--r-- | gi/pyp-topics/src/Makefile.mpi | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gi/pyp-topics/src/Makefile.mpi b/gi/pyp-topics/src/Makefile.mpi new file mode 100644 index 00000000..b22cc7e7 --- /dev/null +++ b/gi/pyp-topics/src/Makefile.mpi @@ -0,0 +1,25 @@ +BLD_ARCH=$(shell uname -s) +-include macros.${BLD_ARCH} + +local_objs = mt19937ar.o corpus.o gzstream.o mpi-pyp-topics.o contexts_lexer.o contexts_corpus.o mpi-train-contexts.o + +all: mpi-pyp-contexts-train + +-include makefile.depend + +#-----------------------# +# Local stuff +#-----------------------# + +mpi-pyp-contexts-train: mpi-train-contexts.o $(local_objs) + $(CXX) -o $@ $^ $(LDFLAGS) + +.PHONY: depend echo +depend: + $(CXX) -MM $(CXXFLAGS) *.cc *.c | sed 's/^\(.*\.o:\)/obj\/\1/' > makefile.depend + +clean: + rm -f obj/*.o + +#clobber: clean +# rm makefile.depend ../bin/${ARCH}/* |