# This file is part of the Visual Effects Engine
#
# Copyright Tommi Ilmonen 2001
#


include ../Makeconf

CUSTOMFLAGS   := $(DEBUGFLAGS)
# CUSTOMFLAGS   := $(RELEASEFLAGS)


LIBRARY       = CrystalEngine

PROGRAM       = vee

HDRS	      = crystal_engine.h \
		crystal_gee_recorder.h \
		crystal_gee_mesh.h \
		crystal_gee_config.h \
		crystal_helma_editor.h \
		crystal_graph_editor.h \
		crystal_model.h \
		crystal_mesh_recorder.h \
		crystal_visualize.h \
		crystal_visualize_location.h \
		crystal_visualize_particles.h \
		crystal_particle_editor.h \
		crystal_general_editor.h \
		crystal_component_editor.h \
		crystal_emitter_editor.h \
		crystal_force_editor.h \
		crystal_density_editor.h \
		crystal_tools.h \
		crystal_transformation.h \
		crystal_widget.h \
		crystal_value_graph.h \
		crystal_value_graphs.h \
		crystal_dom_util.h \
		crystal_log.h \
		crystal_action.h \
		crystal_action_list.h \
		crystal_action_creator.h \
		crystal_value_action.h \
		crystal_audio_action.h \
		crystal_location_action.h \
		crystal_remove_action.h \
		crystal_recorder.h \
		crystal_emitter_recorder.h \
		crystal_explosion_recorder.h \
		crystal_vortex_recorder.h \
		crystal_blow_recorder.h \
		crystal_scene_objs.h \
		crystal_audio_allocator.h \
		crystal_gl_data.h \
		crystal_templates.C


SRCS	      = crystal_engine.C \
		crystal_gee_recorder.C \
		crystal_gee_mesh.C \
		crystal_gee_config.C \
		crystal_helma_editor.C \
		crystal_graph_editor.C \
		crystal_model.C \
		crystal_mesh_recorder.C \
		crystal_visualize.C \
		crystal_visualize_location.C \
		crystal_visualize_particles.C \
		crystal_particle_editor.C \
		crystal_general_editor.C \
		crystal_component_editor.C \
		crystal_emitter_editor.C \
		crystal_force_editor.C \
		crystal_density_editor.C \
		crystal_tools.C \
		crystal_transformation.C \
		crystal_widget.C \
		crystal_value_graph.C \
		crystal_value_graphs.C \
		crystal_dom_util.C \
		crystal_log.C \
		crystal_action.C \
		crystal_action_list.C \
		crystal_action_creator.C \
		crystal_value_action.C \
		crystal_audio_action.C \
		crystal_location_action.C \
		crystal_remove_action.C \
		crystal_recorder.C \
		crystal_emitter_recorder.C \
		crystal_explosion_recorder.C \
		crystal_vortex_recorder.C \
		crystal_blow_recorder.C \
		crystal_scene_objs.C \
		crystal_audio_allocator.C \
		crystal_gl_data.C \
		crystal_templates.C

OBJS  = $(SRCS:%.cpp=%.o)

OBJS := $(OBJS:%.C=%.o)


# MAINSRC = main.C

# MAINOBJ = main.o

DLIBS	      = $(LIB)/libveeopengl.so \
		$(LIB)/libveeeffects.so \
		$(LIB)/libveebase.so

SLIBS	      =	$(LIB)/libveeopengl.a \
		$(LIB)/libveeeffects.a \
		$(LIB)/libveebase.a

#DLIBS	      =	$(LIB)/libveeqt.a $(LIB)/libveeopengl.a $(LIB)/libveeeffects.a $(LIB)/libveebase.a

LIBS          = -L/usr/lib32 -lFluidProcessors -lFluidProcess -lFluid \
		-lSolarGL -lSolar \
		-lGL -lGLU \
		-ldibase \
		-laucontrol \
		$(QT) \
		$(THREAD) \
		-lm

all: dlib 

include $(VEE_PATH)/src/Makelibs

