Makefile

From Linuxintro
Revision as of 15:04, 6 February 2011 by imported>ThorstenStaerk (Created page with "<pre> duffman:~/hello # cat main.c #include <stdio.h> int main() { printf("hello world"); } duffman:~/hello # cat Makefile all:hello hello: main.c gcc main.c -o hel...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
duffman:~/hello # cat main.c 
#include <stdio.h>

int main()
{
  printf("hello world");
}
duffman:~/hello # cat Makefile 
all:hello

hello: main.c
        gcc main.c -o hello

See also

todo