Ask Your Question
0

"make all" command for building a software

asked 2016-03-02 00:13:49 -0500

I'm about to build a software but the phase is confuse for me. (I'm beginner about fedora) I put the command "make all" in the specific folder and then something was installed. However there are more phase and do I have to follow this phase after make all?


  1. Building the software a. build all all you need is to simply type "make all".

    b. build individual modules cd into the appropriate directory to edit and type "make"

    c. build a specific agent there are three agents in this package. They are "dut", "ca" and "tc", standing for "Device Under Test", "Control Agent" and "Test Console" respectively.

    To build one of them only, you need to edit the file "Makefile.inc" to comment rest of modules out

    d. clean modules and object files simply type "make clean" or cd into the module directories,

    type "make clean"

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-03-12 15:29:22 -0500

Fabash gravatar image

No, as phase 'a' says it all: 'make all' is enough to do....all, ie, all dependencies check/creation, build objects/libs/etc in cascade in every sub-module (folder) to call the 'all' final target. It's the usual default target when building a software using Makefiles.

I recommend you to have a look at the Makefile at the root of your software tree.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-03-02 00:13:49 -0500

Seen: 170 times

Last updated: Mar 12 '16