View Single Post
GNU Make question
Old
  (#1)
Rick
Council Member
 
Rick's Avatar
 
Status: Offline
Posts: 690
Join Date: Dec 2003
Location: Holland
Default GNU Make question - 02-07-2005

I thought this was obvious...but meh
Here is what I want: I simply want to set a macro when the target 'server' is being build. That way a clean ded server can be build.
Here is what I have now, and doesn't work :-/
Code:
server: $(SERVER_OBJS)
	$(CXX) $(CXXFLAGS) -DSTANDALONE -o cube_bot_fbsd-server $(SERVER_OBJS) $(SERVER_LIBS)
For same reason the macro 'STANDALONE' is not set.

Can somebody please help me?
  
Reply With Quote