mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 14:20:50 +00:00
Disable all built-in .SUFFIXES, and all built-in rules with a % target, for
performance git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@16158 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0c420344f2
commit
acda6cc303
1 changed files with 25 additions and 0 deletions
25
rules.make
25
rules.make
|
@ -269,10 +269,35 @@ endif
|
|||
# General rules
|
||||
VPATH = .
|
||||
|
||||
# Disable all built-in suffixes for performance.
|
||||
.SUFFIXES:
|
||||
|
||||
# Then define our own.
|
||||
.SUFFIXES: .m .c .psw .java .h .cpp .cxx .C .cc .cp
|
||||
|
||||
.PRECIOUS: %.c %.h $(GNUSTEP_OBJ_DIR)/%${OEXT}
|
||||
|
||||
# Disable all built-in rules with a vague % as target, for performance.
|
||||
%: %.c
|
||||
|
||||
%: %.cpp
|
||||
|
||||
%: %.cc
|
||||
|
||||
%: %.C
|
||||
|
||||
(%): %
|
||||
|
||||
%:: %,v
|
||||
|
||||
%:: RCS/%,v
|
||||
|
||||
%:: RCS/%
|
||||
|
||||
%:: s.%
|
||||
|
||||
%:: SCCS/s.%
|
||||
|
||||
#
|
||||
# In exceptional conditions, you might need to want to use different compiler
|
||||
# flags for a file (for example, if a file doesn't compile with optimization
|
||||
|
|
Loading…
Reference in a new issue