|
a/src/common/Makefile |
|
b/src/common/Makefile |
1 |
include ../mk/FreeBSD
|
1 |
include ../mk/sysconf
|
2 |
BIGLIB = ../lib/librcl.a
|
2 |
BIGLIB = ../lib/librcl.a
|
3 |
|
3 |
|
4 |
|
4 |
|
5 |
PROGS = unacpp textsplit
|
5 |
PROGS = unacpp textsplit
|
6 |
all: $(PROGS)
|
6 |
all: $(PROGS)
|
7 |
|
7 |
|
8 |
UNACPP_OBJS= trunacpp.o $(BIGLIB)
|
8 |
UNACPP_OBJS= trunacpp.o $(BIGLIB)
|
9 |
unacpp : $(UNACPP_OBJS)
|
9 |
unacpp : $(UNACPP_OBJS)
|
10 |
$(CXX) $(CXXFLAGS) -o unacpp $(UNACPP_OBJS) \
|
10 |
$(CXX) $(CXXFLAGS) -o unacpp $(UNACPP_OBJS) \
|
11 |
-L/usr/local/lib -liconv
|
11 |
$(LIBICONV)
|
12 |
trunacpp.o : unacpp.cpp unacpp.h
|
12 |
trunacpp.o : unacpp.cpp unacpp.h
|
13 |
$(CXX) $(CXXFLAGS) -DTEST_UNACPP -c -o trunacpp.o unacpp.cpp
|
13 |
$(CXX) $(CXXFLAGS) -DTEST_UNACPP -c -o trunacpp.o unacpp.cpp
|
14 |
|
14 |
|
15 |
TEXTSPLIT_OBJS= trtextsplit.o $(BIGLIB)
|
15 |
TEXTSPLIT_OBJS= trtextsplit.o $(BIGLIB)
|
16 |
textsplit : $(TEXTSPLIT_OBJS)
|
16 |
textsplit : $(TEXTSPLIT_OBJS)
|