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
Directories
How do I reset the name of the "Title" column in Sharepoint after it has been renamed in error.
SBS 2008 ~ The e-mail alias already exists...
A substitute for Terminal Server running under 2003. Any 3rd party tool, having basic features of TS?
Send Email from Winform application
How to create a .mdb file from ms sql server database.......
Want to run script when a file is put in a folder
SQLSERVER 2005 mirroring
how to define UserID in scope URL, so that I can show a logged-in user his or her user profile to edit or review
Eclipse and Tomcat: HTTP Status 404