blob: b7b8a2901bfb906130a2d1d885d5e3d20d3e9633 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
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
$(CXX) -MM $(CXXFLAGS) *.cc *.c > makefile.depend
clean:
rm -f *.o
#clobber: clean
# rm makefile.depend ../bin/${ARCH}/*
|