# Project: Agent
# Makefile created by Dev-C++ 4.9.9.2

CPP  = g++.exe
CC   = gcc.exe
WINDRES = windres.exe
RES  = Agent_private.res
OBJ  = main.o agent.o environment.o random_num_gen.o evaluator.o GUI.o include/glui.o include/glui_bitmap_img_data.o include/glui_bitmaps.o include/glui_button.o include/glui_column.o include/glui_control.o include/glui_edittext.o include/glui_node.o include/glui_panel.o include/glui_radio.o include/glui_rollout.o include/glui_spinner.o include/glui_statictext.o include/glui_string.o include/glui_window.o $(RES)
LINKOBJ  = main.o agent.o environment.o random_num_gen.o evaluator.o GUI.o include/glui.o include/glui_bitmap_img_data.o include/glui_bitmaps.o include/glui_button.o include/glui_column.o include/glui_control.o include/glui_edittext.o include/glui_node.o include/glui_panel.o include/glui_radio.o include/glui_rollout.o include/glui_spinner.o include/glui_statictext.o include/glui_string.o include/glui_window.o $(RES)
LIBS =  -L"C:/Dev-Cpp/lib" -lopengl32 -lglut32 -lglu32  
INCS =  -I"C:/Dev-Cpp/include" 
CXXINCS =  -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"C:/Dev-Cpp/include/c++/3.4.2/backward"  -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"C:/Dev-Cpp/include/c++/3.4.2"  -I"C:/Dev-Cpp/include" 
BIN  = Agent.exe
CXXFLAGS = $(CXXINCS)  
CFLAGS = $(INCS)  
RM = rm -f

.PHONY: all all-before all-after clean clean-custom

all: all-before Agent.exe all-after


clean: clean-custom
	${RM} $(OBJ) $(BIN)

$(BIN): $(OBJ)
	$(CPP) $(LINKOBJ) -o "Agent.exe" $(LIBS)

main.o: main.cpp
	$(CPP) -c main.cpp -o main.o $(CXXFLAGS)

agent.o: agent.cpp
	$(CPP) -c agent.cpp -o agent.o $(CXXFLAGS)

environment.o: environment.cpp
	$(CPP) -c environment.cpp -o environment.o $(CXXFLAGS)

random_num_gen.o: random_num_gen.cpp
	$(CPP) -c random_num_gen.cpp -o random_num_gen.o $(CXXFLAGS)

evaluator.o: evaluator.cpp
	$(CPP) -c evaluator.cpp -o evaluator.o $(CXXFLAGS)

GUI.o: GUI.cpp
	$(CPP) -c GUI.cpp -o GUI.o $(CXXFLAGS)

include/glui.o: include/glui.cpp
	$(CPP) -c include/glui.cpp -o include/glui.o $(CXXFLAGS)

include/glui_bitmap_img_data.o: include/glui_bitmap_img_data.cpp
	$(CPP) -c include/glui_bitmap_img_data.cpp -o include/glui_bitmap_img_data.o $(CXXFLAGS)

include/glui_bitmaps.o: include/glui_bitmaps.cpp
	$(CPP) -c include/glui_bitmaps.cpp -o include/glui_bitmaps.o $(CXXFLAGS)

include/glui_button.o: include/glui_button.cpp
	$(CPP) -c include/glui_button.cpp -o include/glui_button.o $(CXXFLAGS)

include/glui_column.o: include/glui_column.cpp
	$(CPP) -c include/glui_column.cpp -o include/glui_column.o $(CXXFLAGS)

include/glui_control.o: include/glui_control.cpp
	$(CPP) -c include/glui_control.cpp -o include/glui_control.o $(CXXFLAGS)

include/glui_edittext.o: include/glui_edittext.cpp
	$(CPP) -c include/glui_edittext.cpp -o include/glui_edittext.o $(CXXFLAGS)

include/glui_node.o: include/glui_node.cpp
	$(CPP) -c include/glui_node.cpp -o include/glui_node.o $(CXXFLAGS)

include/glui_panel.o: include/glui_panel.cpp
	$(CPP) -c include/glui_panel.cpp -o include/glui_panel.o $(CXXFLAGS)

include/glui_radio.o: include/glui_radio.cpp
	$(CPP) -c include/glui_radio.cpp -o include/glui_radio.o $(CXXFLAGS)

include/glui_rollout.o: include/glui_rollout.cpp
	$(CPP) -c include/glui_rollout.cpp -o include/glui_rollout.o $(CXXFLAGS)

include/glui_spinner.o: include/glui_spinner.cpp
	$(CPP) -c include/glui_spinner.cpp -o include/glui_spinner.o $(CXXFLAGS)

include/glui_statictext.o: include/glui_statictext.cpp
	$(CPP) -c include/glui_statictext.cpp -o include/glui_statictext.o $(CXXFLAGS)

include/glui_string.o: include/glui_string.cpp
	$(CPP) -c include/glui_string.cpp -o include/glui_string.o $(CXXFLAGS)

include/glui_window.o: include/glui_window.cpp
	$(CPP) -c include/glui_window.cpp -o include/glui_window.o $(CXXFLAGS)

Agent_private.res: Agent_private.rc 
	$(WINDRES) -i Agent_private.rc --input-format=rc -o Agent_private.res -O coff 
