_
toggle menu eXmatrikulationsamt.de
online: 307 gäste

> make-file

Themen Layout: Standard · Linear · [Outline] Thema abonnieren | Thema versenden | Thema drucken
post 18 Jan 2008, 22:24
avatar
Vordiplom
*****

Punkte: 564
seit: 07.06.2004

Hi,

kennt sich jmd. mit make-files und C aus?
Wir versuchen gerade ein make-file zu erzeugen. Das Problem dabei ist, dass die eigene header-Datei, obwohl sie im selben Ordner ist, nicht gefunden werden kann.
Es müssen 2 C-files und eine header-Datei eingebunden werden.
Wie schreibt man so etwas richtig / wie würde ein make-file aussehen?

vielen Dank
ProfilPM
AntwortenZitierenTOP
 
Antworten
post 18 Jan 2008, 22:41
avatar
Are you afraid?
********

Punkte: 1648
seit: 11.10.2007

Minimalbeispiel:

CODE
prog: a.c b.c x.h
       gcc -o prog a.c b.c


--------------------
In my talons, I shape clay, crafting life forms as I please.
Around me is a burgeoning empire of steel.
From my throne room, lines of power careen into the skies of Earth.
My whims will become lightning bolts that devastate the mounds of humanity.
Out of the chaos, they will run and whimper, praying for me to end their tedious anarchy.
I am drunk with this vision. God: the title suits me well.
ProfilPM
AntwortenZitierenTOP
Beiträge
Shanesia   make-file   18 Jan 2008, 22:24
mmarx   Minimalbeispiel: prog: a.c b.c x.h   ...   18 Jan 2008, 22:41
Shanesia   super, viele Dank! Das b.c am Ende hatte noch ...   18 Jan 2008, 22:51
1 Nutzer liest/lesen dieses Thema (1 Gäste)
0 Mitglieder: