Everything2
Near Matches
Ignore Exact
Full Text
Everything2

make all

created by ariels

(thing) by ariels (2.7 d) (print)   ?   (I like it!) Mon Apr 02 2001 at 8:57:55

In a project involving more than one executable (or other final products), the traditional makefile target for compiling all the executables is called all. If the products are program1, program2 and program3, the all target will take the form

all: program1 program2 program2

# The above blank line is IMPORTANT!
This tells make that in order to make the all target, all three programs have to be up-to-date, but that no further commands need to be performed. It is also possible to touch some dummy indicator file, by saying
all: program1 program2 program3
        touch all
# The above line MUST start with a TAB!
but this has no real advantages.

Generally, the all target is the first target in the makefile, so saying "make" has the same effect as saying "make all".


printable version
chaos

make clean recompile the world make World Make Believe
make love 1789 And All That make suck
Makefile Touch
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Drink up!
Pioneer 10
kin altruism
condom man page
John Coltrane
Writing for a wider audience
Greyhound bus
Morse code
fork
Everything Quests - The High Seas
Mad World, or my weekend in Afghanistan
Every new technology has been endowed with the potential to transform society
Roman Britain
Oh.
New Writeups
antigravpussy
One fly amongst many(person)
sam512
Moon Base Shackleton, 1978(fiction)
Pavlovna
toy boy(person)
XWiz
tear jerker(review)
Heitah
Anarchy is Order(idea)
jessicaj
July 26, 2008(dream)
Berek
ABBA(person)
devolution
k-hole(place)
Nadine_2
The Sound Of Madness(review)
SwimmingMonkey
Conversations with Fo Fo, the Loneliest dog in Purgatory(fiction)
locke baron
lynx(thing)
Simulacron3
Reality, Dimensions and the Natural Ontology(essay)
SubSane
Making Love to a 9-Foot Woman(person)
Ouzo
Thoughts(idea)
antigravpussy
I fall silent, listening. The breadcrumbs are talking about us(person)
Everything 2 is brought to you by the letter C and The Everything Development Company