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
Outlook emails are "automagically" moving to trash
Pix 506 to Draytek VPN
Oracle forms Behavior of the Alternative Region
CSS
FTP from a UNIX server to a Windows platform
How to configure Busy Lamp Field - Speed dials on a Callmanager Express
CISCO ASA 5505 blocking internet access on specific mac address on local network
Quick Excel Question
Why does my onsubmit="Validate_Submit(
)" still submit despite failing validation?
Server 2008 will restart on its own with this error during DC promo to this server