|
a/src/common/Makefile |
|
b/src/common/Makefile |
1 |
include ../mk/sysconf
|
|
|
2 |
BIGLIB = ../lib/librcl.a
|
|
|
3 |
|
1 |
|
|
|
2 |
# Only test progs in there
|
4 |
PROGS = unacpp textsplit
|
3 |
PROGS = unacpp textsplit
|
5 |
all: $(PROGS)
|
4 |
|
|
|
5 |
all: $(BIGLIB) $(PROGS)
|
|
|
6 |
|
|
|
7 |
$(BIGLIB):
|
|
|
8 |
cd ../lib;$(MAKE)
|
6 |
|
9 |
|
7 |
UNACPP_OBJS= trunacpp.o $(BIGLIB)
|
10 |
UNACPP_OBJS= trunacpp.o $(BIGLIB)
|
8 |
unacpp : $(UNACPP_OBJS)
|
11 |
unacpp : $(UNACPP_OBJS)
|
9 |
$(CXX) $(CXXFLAGS) -o unacpp $(UNACPP_OBJS) \
|
12 |
$(CXX) $(CXXFLAGS) -o unacpp $(UNACPP_OBJS) \
|
10 |
$(LIBICONV)
|
13 |
$(LIBICONV)
|
|
... |
|
... |
15 |
textsplit : $(TEXTSPLIT_OBJS)
|
18 |
textsplit : $(TEXTSPLIT_OBJS)
|
16 |
$(CXX) $(CXXFLAGS) -o textsplit $(TEXTSPLIT_OBJS)
|
19 |
$(CXX) $(CXXFLAGS) -o textsplit $(TEXTSPLIT_OBJS)
|
17 |
trtextsplit.o : textsplit.cpp
|
20 |
trtextsplit.o : textsplit.cpp
|
18 |
$(CXX) $(CXXFLAGS) -DTEST_TEXTSPLIT -c -o trtextsplit.o \
|
21 |
$(CXX) $(CXXFLAGS) -DTEST_TEXTSPLIT -c -o trtextsplit.o \
|
19 |
textsplit.cpp
|
22 |
textsplit.cpp
|
|
|
23 |
|
20 |
clean:
|
24 |
clean::
|
21 |
rm -f *.o $(PROGS)
|
25 |
rm -f *.o $(PROGS)
|
|
|
26 |
|
|
|
27 |
include ../mk/sysconf
|
|
|
28 |
|