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
Convert html pages into PHP
record source for reports and forms gone
Connecting mobile devices to Exchange 2003 SP2
Contact form on website requires authentication
DL360 G4p Hard Drive Failure.
How Can I Disable Calendar Event Notifications in Entourage 2008?
Write access report detail data to a table
centralized calendar for all users to post vacation time??? How???
loop with the files
emails stuck in outlook outbox, exchange not pop3