Difference between revisions of "Makefile"
From Linuxintro
imported>ThorstenStaerk |
imported>ThorstenStaerk |
||
Line 14: | Line 14: | ||
gcc main.c -o hello | gcc main.c -o hello | ||
EOF | EOF | ||
+ | sed -i "s/ /\t/g" Makefile | ||
</pre> | </pre> | ||
Revision as of 15:25, 6 February 2011
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 sed -i "s/ /\t/g" Makefile