http://www.scons.org/wiki/FrequentlyAskedQuestions#head-00ce208eece451fe9879c6f8dd1c45b56f4c76d1
http://www.scons.org/doc/1.2.0/HTML/scons-user/c251.html
$ cat hello.c
int main(int argc, char* argv[])
{
printf("Hello world!\n");
return 0;
}
$ cat SConstruct
Program('hello.c')
$ scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: `.' is up to date.
scons: done building targets.
$ ./hello
Hello world!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment