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
Table alignment in Dreamweaver
Question about BATCH file - stored values??
Looking for bicycle cadence indicator using colored LEDs to show speed
updateable view
Show dates that are within 2 weeks from today in SQL view
Kodak Easyshare All In One Printer 5500 Ink cartriges Can ink heads be soaked or can a drop of ?? be placed on them to loosen them up
Syncing Phone
Oracle SQL: why this regular expression doesn't work?
Excel: Programmatically determine if Trust Access To VB Project has been set
What is the VB code to extract all fields from an access query/table?