GNU Make 3.82 (Lucid 528-005)

discuss compiling applications for Puppy
Post Reply
Message
Author
User avatar
chrome307
Posts: 708
Joined: Thu 15 Jan 2009, 11:00

GNU Make 3.82 (Lucid 528-005)

#1 Post by chrome307 »

Image

Image

Homepage:

http://www.gnu.org/software/make/

Make is a tool which controls the generation of executables and other non-source files of a program from the program's source files.

Make gets its knowledge of how to build your program from a file called the makefile, which lists each of the non-source files and how to compute it from other files. When you write a program, you should write a makefile for it, so that it is possible to use Make to build and install the program.

Capabilities of Make:


Make enables the end user to build and install your package without knowing the details of how that is done -- because these details are recorded in the makefile that you supply.

Make figures out automatically which files it needs to update, based on which source files have changed. It also automatically determines the proper order for updating files, in case one non-source file depends on another non-source file.

As a result, if you change a few source files and then run Make, it does not need to recompile all of your program. It updates only those non-source files that depend directly or indirectly on the source files that you changed.

Make is not limited to any particular language. For each non-source file in the program, the makefile specifies the shell commands to compute it. These shell commands can run a compiler to produce an object file, the linker to produce an executable, ar to update a library, or TeX or Makeinfo to format documentation.

Make is not limited to building a package. You can also use Make to control installing or deinstalling a package, generate tags tables for it, or anything else you want to do often enough to make it worth while writing down how to do it.

GNU Make has many powerful features for use in makefiles, beyond what other Make versions have. It can also regenerate, use, and then delete intermediate files which need not be saved.

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#2 Post by darkcity »

how does this differ from the make provided by lucid's devx?

User avatar
chrome307
Posts: 708
Joined: Thu 15 Jan 2009, 11:00

#3 Post by chrome307 »

This gives you a binary 'make' that is placed in:

/usr/bin

However you will need to have GCC to compile with ( working on that next!! ).

What I was planning to do was try to edit the devx file and try to update the inbuilt applications if possible. However, I can't seem to find the editsfs2.1 pet file at the moment.

... found this on the net " devx package you can have not only the 'gcc', but 'lex' and 'yacc' tools .. " Tuxradar

User avatar
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

#4 Post by Tman »

chrome307 wrote:...I can't seem to find the editsfs2.1 pet file at the moment.
3 days have passed, so you may have found it already, but for reference, the link is here -> Edit-SFS 2.1

User avatar
chrome307
Posts: 708
Joined: Thu 15 Jan 2009, 11:00

#5 Post by chrome307 »

Thanks for that :)

Post Reply