| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Maximus at UNIX |
Thu 2003-06-19 17:03, Wes Garland (1:106/2000) wrote to Roy J. Tellason:
WG> Here's one you won't find in the manual:
WG>
WG> # touch Makefile
WG> # make myprogram
WG>
WG> This will build "myprogram" from "myprogram.c",
assuming you have
WG> GNU Make and a reasonable system configuration. Touching the
WG> Makefile merely creates a Makefile with no rules, so the implicity
WG> rules kick in.
You probably don't even need the makefile:
16:30 ozzmosis{at}blizzard [~/src]mkdir blah
16:30 ozzmosis{at}blizzard [~/src]cd blah
16:31 ozzmosis{at}blizzard [~/src/blah]echo "int main(void) { return 0;
}" > blah.c
16:31 ozzmosis{at}blizzard [~/src/blah]gmake blah
cc blah.c -o blah
-- mail{at}ozzmosis.com
--- timEd/FreeBSD 1.11.b1
* Origin: Blizzard of Ozz, Mt Eliza, Melbourne, Australia (3:633/267)SEEN-BY: 633/267 270 @PATH: 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.