Commit f94789e8415adf46722bd1e435cb4fcb57aa9c5d

Authored by Leonardo Domingues
1 parent 33747a02
Exists in master

Atualiza os arquivos Makefile e README

Makefile
  1 +# *****************************************************************
  2 +#
  3 +# VLibras: Automatic contents translator from Portuguese to LIBRAS
  4 +#
  5 +# Copyright (c) 2015 Leonardo Araújo
  6 +# VLibras-Core group at LAViD, Federal University of Paraiba
  7 +#
  8 +# *****************************************************************
  9 +
  10 +# -----------------------------------------------------------------
  11 +# \file Makefile, Makefile.build, Makefile.top
  12 +# \authors Leonardo Araújo
  13 +# \date Março 2015
  14 +# -----------------------------------------------------------------
  15 +
1 16 include Makefile.top
2 17  
3 18 MODULE = vlibras_desktop
... ... @@ -9,7 +24,7 @@ CFLAGS = \
9 24 -I$(INCDIR)\
10 25 -I/usr/include/python2.7
11 26  
12   -CFLAGS += -m32 -g -fPIC
  27 +CFLAGS += -m64 -g -fPIC
13 28  
14 29 LDFLAGS = \
15 30 -L/usr/lib/python2.7/config\
... ...
README
1   ---------------------------------------------
2   -COMPILE
3   ---------------------------------------------
  1 +# *****************************************************************
  2 +#
  3 +# VLibras: Automatic contents translator from Portuguese to LIBRAS
  4 +#
  5 +# Copyright (c) 2015
  6 +# VLibras-Core group at LAViD, Federal University of Paraiba
  7 +#
  8 +# *****************************************************************
4 9  
5   -$ g++ -Iinclude/ -I/usr/include/python2.7 -g -c src/py_tradutor.cpp src/core_plugin.cpp -fPIC -Wall
  10 +-------------------------------------------------------------------
  11 +Compile and generate the shared library to VLibras-Core-Desktop
  12 +-------------------------------------------------------------------
6 13  
7   ---------------------------------------------
8   -BUILD SHARED LIBRARY (.so)
9   ---------------------------------------------
  14 +$ make
10 15  
11   -$ g++ -shared -fPIC py_tradutor.o core_plugin.o $(python2.7-config --ldflags) -o libCorePlugin.so -lm
  16 +-------------------------------------------------------------------
  17 +Clean object and shared library files
  18 +-------------------------------------------------------------------
12 19  
13   -$ g++ -shared -fPIC py_tradutor.o core_plugin.o -L/usr/lib/python2.7/config -lpthread -ldl -lutil -lm -lpython2.7 -o libCorePlugin.so -lm
14   -
15   ---------------------------------------------
16   -TEST WITH MAIN FILE
17   ---------------------------------------------
18   -
19   -$ g++ $(python2.7-config --cflags) -I /usr/local/include/ src/main.cpp -L/usr/local/lib -lcoreplugin -o vlibras
20 20 \ No newline at end of file
  21 +$ make clean
21 22 \ No newline at end of file
... ...
plugin/libCorePlugin-0.2.so
No preview for this file type
plugin/libCorePlugin.so
... ... @@ -1 +0,0 @@
1   -libCorePlugin-0.2.so
2 0 \ No newline at end of file
src/core_plugin.o
No preview for this file type
src/py_tradutor.o
No preview for this file type