Difference between revisions of "Makefile"
From Linuxintro
imported>ThorstenStaerk |
imported>ThorstenStaerk |
||
Line 24: | Line 24: | ||
* http://mrbook.org/tutorials/make/ | * http://mrbook.org/tutorials/make/ | ||
* http://www.cems.uvm.edu/~snapp/maketutorial/make.html | * http://www.cems.uvm.edu/~snapp/maketutorial/make.html | ||
− | + | ||
+ | {{stub}} |
Revision as of 08:45, 6 March 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 install: hello cp hello /usr/local/bin EOF sed -i "s/ /\t/g" Makefile
See also
This article is a stub and needs improvement. You can help here :)