Makefile

From Linuxintro
Revision as of 15:20, 6 February 2011 by imported>ThorstenStaerk
cat >main.c <<EOF
#include <stdio.h>

int main()
{
  printf("hello world");
}
EOF
cat >Makefile <<EOF
all:hello

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

See also

todo