gui connected to rcldb (init)
This commit is contained in:
+12
-1
@@ -1,7 +1,9 @@
|
||||
|
||||
CXXFLAGS = -I.
|
||||
|
||||
PROGS = trfstreewalk pathut execmd
|
||||
BIGLIB = ../lib/librcl.a
|
||||
|
||||
PROGS = trfstreewalk trpathut execmd transcode
|
||||
all: $(PROGS)
|
||||
|
||||
FSTREEWALK_OBJS= trfstreewalk.o fstreewalk.o pathut.o
|
||||
@@ -10,14 +12,23 @@ trfstreewalk : $(FSTREEWALK_OBJS)
|
||||
trfstreewalk.o : fstreewalk.cpp fstreewalk.h
|
||||
$(CXX) -o trfstreewalk.o -c $(CXXFLAGS) \
|
||||
-DTEST_FSTREEWALK fstreewalk.cpp
|
||||
|
||||
PATHUT_OBJS= trpathut.o pathut.o
|
||||
trpathut : $(PATHUT_OBJS)
|
||||
$(CXX) -o trpathut $(PATHUT_OBJS)
|
||||
trpathut.o : pathut.cpp pathut.h
|
||||
$(CXX) -o trpathut.o -c $(CXXFLAGS) \
|
||||
-DTEST_PATHUT pathut.cpp
|
||||
|
||||
execmd: pathut.o
|
||||
$(CXX) -o execmd $(CXXFLAGS) execmd.cpp pathut.o
|
||||
|
||||
TRANSCODE_OBJS= trtranscode.o $(BIGLIB)
|
||||
transcode : $(TRANSCODE_OBJS)
|
||||
$(CXX) $(CXXFLAGS) -o transcode $(TRANSCODE_OBJS) \
|
||||
-L/usr/local/lib -liconv
|
||||
trtranscode.o : ../utils/transcode.cpp
|
||||
$(CXX) $(CXXFLAGS) -DTEST_TRANSCODE -c -o trtranscode.o \
|
||||
transcode.cpp
|
||||
clean:
|
||||
rm -f *.o $(PROGS)
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
#ifndef _TRANSCODE_H_INCLUDED_
|
||||
#define _TRANSCODE_H_INCLUDED_
|
||||
/* @(#$Id: transcode.h,v 1.1 2004-12-15 09:43:48 dockes Exp $ (C) 2004 J.F.Dockes */
|
||||
|
||||
/* @(#$Id: transcode.h,v 1.2 2005-01-25 14:37:21 dockes Exp $ (C) 2004 J.F.Dockes */
|
||||
/**
|
||||
* A very minimal c++ized interface to iconv
|
||||
*/
|
||||
#include <string>
|
||||
|
||||
extern bool transcode(const std::string &in, std::string &out,
|
||||
|
||||
Reference in New Issue
Block a user