Skip to content
Marcelo S. Reis edited this page Jul 3, 2017 · 2 revisions

How to Compile

The Main Program And the Unit Tests

After unzip this package, just open a terminal and type, inside the directory where it was unzipped:

> make

To compile the tests, type:

> make test

The Extended Markup Language (XML) Parser

Warning: this procedure requires GNU Bison and GNU Flex.

After the modifications in the XML parser files, type:

> make bison

and then:

> make flex

Update 'featsel.cpp' and 'featselTest.cpp' Files

Warning: this procedure requires Perl 5. Just type:

> make featsel.cpp

and

> make featselTest.cpp

to update the featsel program main and unit test main files, respectively.

After a successful addition of new algorithms and/or cost functions, these two commands are executed automatically.

Help Man Page

Warning: this procedure requires GNU groff.

Just type:

> make help

to update the help man page (file "docs/featsel.txt").

Everything at Once

Warning: this procedure requires Perl 5, GNU Bison, Flex and groff.

Just type:

> make all

in order to compile at once everything listed in items (3.1)--(3.4).

Clean Objects and Binaries

To remove the objects and binaries produced by the compiler, type:

> make clean

Clone this wiki locally