TARGET=osocial.exe SOURCE_EXTRA=$(shell ls --color=none *.cs) SOURCE_DOMINIO=$(shell ls --color=none Dominio/*.cs) SOURCE_CONTROLADOR=$(shell ls --color=none Controlador/*.cs) SOURCE_VISTAS=$(shell ls --color=none Vistas/*.cs) SOURCE_TEST=$(shell ls --color=none Tests/*.cs) SOURCE_REPORTES=$(shell ls --color=none Reportes/*.cs) SOURCE_EXCEPCIONES=$(shell ls --color=none Excepciones/*.cs) SOURCE=$(SOURCE_DOMINIO) $(SOURCE_CONTROLADOR) $(SOURCE_EXTRA) $(SOURCE_VISTAS) $(SOURCE_TEST) $(SOURCE_REPORTES) $(SOURCE_EXCEPCIONES) LIBS=-pkg:glade-sharp-2.0 -pkg:gtk-sharp-2.0 -r:./bin/db4o.dll GLADE_FILES=$(shell ls --color=none ../glade/*.glade) GLADE=$(foreach file,$(GLADE_FILES), $(addprefix -resource:,$(file)),$(notdir $(file))) all: mcs -out:bin/$(TARGET) $(GLADE) $(LIBS) -target:exe $(SOURCE) clean: rm -rf bin/$(TARGET) install: cp osocial.exe.config bin/ cp -r Recursos/ bin/ rm -rf bin/Recursos/.svn