##  -----------------------------------------------------------------
##  Licensed Materials - Property of IBM
##  
##  Satisfiability Solver Selector (3S)
##  
##  (C) Copyright IBM Corporation 2011.  All Rights Reserved.
##  
##  US Government Users Restricted Rights -  Use, duplication or
##  disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
##  
##  Authors:  Yuri Malitsky, Ashish Sabharwal,
##            Horst Samulowitz, Meinolf Sellmann
##  
##  This program and its associated documentation files ("Software")
##  are provided "as is", without warranty of any kind, express or
##  implied, including but not limited to the warranties of
##  merchantability or fitness for a particular purpose. In no
##  event shall the authors or copyright holders be liable for any
##  claim, damages, or other liability, whether in an action of
##  contract, tort, or otherwise, arising from, out of, or in
##  connection with the use of the Software.
##  -----------------------------------------------------------------

OBJS = coach.o general_includes.o

CCC = g++

LDMTFLAGS = 

#DEBUG = -DDEBUG -g
#OPT = -DNDEBUG -O3 -fexpensive-optimizations
DEBUG = -DDEBUG -g -static
OPT = -DNDEBUG -O3 -fexpensive-optimizations -static
DATA = 

INC = -IDATASTRUCTURES
CFLAGS  = $(OPT) $(LDMTFLAGS) $(INC)
LDFLAGS = $(LDMTFLAGS)


NAME = coach

default: $(NAME)

$(NAME): $(OBJS)
	$(CCC) $(CFLAGS) -o $(NAME) $(OBJS) $(LDFLAGS)	

coach.o : coach.cpp
	$(CCC) -c $(CFLAGS) coach.cpp

general_includes.o: DATASTRUCTURES/general_includes.cpp
	$(CCC) -c $(CFLAGS) DATASTRUCTURES/general_includes.cpp

clean:
	rm -f $(OBJS) 
	rm -f $(NAME) 
