ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  make for Nonprogrammers
Subject:   Great article
Date:   2005-04-04 07:29:43
From:   flynn_nrg
Excellent stuff as usual, Dru.


I'll add a couple of comments. If you want to build yours unattended you can use the BATCH=yes option that will pick up the defaults and leave you with the same options that packages use.


make can work even without a Makefile, for example:


flynn@scienide% echo "int main(void) {}" > foo.c
flynn@scienide% make foo
cc -O -pipe -march=pentium3 foo.c -o foo
flynn@scienide%