makefile - Default rules in Make -


Is there a mechanism to allow the default global implicit rules available anywhere underlying rules?

Without the need for Makefile for simple cases, provides some built-in rules for compiling C / C + / foreign files. However, when other languages ​​(eg Programming language files), then makefile is always necessary I want to make my Makeenvironment available by default to the extended rules by default.

This is not usually desirable, because it causes your makefile to be less portable; It will not work on someone else's machine, if it does not happen.

However, if you want to do this, create a "Global" makefile with GoGo for your default rules, then add your way to the Macfills Environment variable to run this "Make" global makefile. But before any makefile will be processed, as if you had included its source at the top of the file.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -