blob: 61e0a59012c874c370ddba9cd198081c85c8c244 (
plain) (
blame)
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
27
28
|
include ../tnet.mk
INCLUDE = -I.
all: $(OBJ_DIR)/libKaldiLib.a
$(OBJ_DIR)/libKaldiLib.a: $(OBJ)
$(AR) ruv $@ $(OBJ)
$(RANLIB) $@
$(OBJ_DIR)/%.o : %.cc
$(CXX) -o $@ -c $< $(CFLAGS) $(CXXFLAGS) $(INCLUDE)
.PHONY: clean doc depend
clean:
rm -f $(OBJ_DIR)/*.o $(OBJ_DIR)/*.a
doc:
doxygen ../../doc/doxyfile_TNetLib
depend:
$(CXX) -M $(CXXFLAGS) *.cc $(INCLUDE) > .depend.mk
-include .depend.mk
|