Makefile
From Linuxintro
Revision as of 16:04, 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 install: hello cp hello /usr/local/bin EOF sed -i "s/ /\t/g" Makefile