Microsoft
Software
Hardware
Network
Question : What's the purpose of "MAKEFILE" macro in a makefile?
Consider following makefile:
MAKEFILE = makefile_platform
..
..
lib: $(OBJS) $(MAKEFILE)
@echo Making Archive Library: $(LIB_DEST)$(LIB_NAME)...
$(AR) $(ARFLAGS) $(LIB_DEST)$(LIB_NAME)
[email protected]
Does this mean lib target will only get built if filename makefile_platform exists? Instead, what if filename makefile exists, will the target lib get built? Instead, what if filename is makefile_mine, will the target lib get built?
Answer : What's the purpose of "MAKEFILE" macro in a makefile?
Yes, if it doesn't exist it should say "Don't know how to make makefile_platform" and not build lib. Unless you have a rule somewhere else in the makefile starting "makefile_platform:" that will build that file.
Random Solutions
Intelligent Filter want to know which mails were blocked
How to Make a RSS feed by using Silverlight 4 and Expression Blend 3?
PHP Web publishing in FileMaker Pro 10 Server Advanced
differences between windows server 2003 and windows server 2003 r2
Blank characters being inserted into SQL Table via ADODB
Is c++ com server my solution?
Move a VM
visiting New York for the first time, what should I do and what's the must see's?
Sync between BIND and Microsoft DNS
Raise Active Directory domain functional level to Windows Server 2003