
{"id":5406,"date":"2011-08-13T13:41:37","date_gmt":"2011-08-13T13:41:37","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=5406"},"modified":"2011-08-13T13:41:37","modified_gmt":"2011-08-13T13:41:37","slug":"make-gnu-make-utility-to-maintain-groups-of-programs","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2011\/08\/13\/make-gnu-make-utility-to-maintain-groups-of-programs\/","title":{"rendered":"make &#8211; GNU make utility to maintain groups of programs"},"content":{"rendered":"<h5><u> A UNIX Command <\/u><\/h5>\n<pre>\n$make\ngcc -g -O2 -lcairo -I\/usr\/include\/cairo\/ -L\/usr\/lib\/ `pkg \\\n-config --cflags --libs gtk+-2.0 gthread-2.0` - \\\nDVERSION=\\\"0.0.1\\\" language.c -o language\n$\n$ls\nautom4te.cache  config.status  configure.in  CVS            language    Makefile     TODO\nconfig.log      configure      COPYING       Documentation  language.c  Makefile.in\n$\n\n<u>Sample Makefile Contents<\/u>\nCC = gcc\nVERSION = 0.0.1\nCFLAGS = -g -O2 -lcairo -I\/usr\/include\/cairo\/ -L\/usr\/lib\/ \\\npkg-config --cflags --libs gtk+-2.0 gthread-2.0`\n\nall: language-bin\n\nlanguage-bin: language.c\n        $(CC) $(CFLAGS) -DVERSION=\\\"$(VERSION)\\\" language.c -o language\n\nclean:\n        rm -f language\n\ndistclean:\n        rm -f language config.* Makefile\n\n<\/pre>\n<p><\/p>\n<h5><u> UNIX Explanation <\/u><\/h5>\n<pre>\nThe make utility automatically determines which pieces of\na  large  program  need  to  be  recompiled,  and  issues\ncommands  to recompile  them. This  manual  describes GNU\nmake,  which  was  implemented  by Richard  Stallman  and\nRoland McGrath.  Development since Version  3.76 has been\nhandled by Paul D. Smith.GNU make conforms to section 6.2\nof IEEE Standard 1003.2-1992 (POSIX.2). Our examples show\nC programs, since  they are most common, but  you can use\nmake with any programming  language whose compiler can be\nrun with a shell command.  Indeed, make is not limited to\nprograms. You can use it  to describe any task where some\nfiles must be  updated automatically from others whenever\nthe others change.\n\nsource: http:\/\/www.gnu.org\/software\/make\/manual\/\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>A UNIX Command $make gcc -g -O2 -lcairo -I\/usr\/include\/cairo\/ -L\/usr\/lib\/ `pkg \\ -config &#8211;cflags &#8211;libs gtk+-2.0 gthread-2.0` &#8211; \\ DVERSION=\\&#8221;0.0.1\\&#8221; language.c -o language $ $ls autom4te.cache config.status configure.in CVS language Makefile TODO config.log configure COPYING Documentation language.c Makefile.in $ Sample Makefile Contents CC = gcc VERSION = 0.0.1 CFLAGS = -g -O2 -lcairo -I\/usr\/include\/cairo\/ -L\/usr\/lib\/ &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2011\/08\/13\/make-gnu-make-utility-to-maintain-groups-of-programs\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;make &#8211; GNU make utility to maintain groups of programs&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[841,1090,1587],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/5406"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=5406"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/5406\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=5406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=5406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=5406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}