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=$(SOURCE_DOMINIO) $(SOURCE_CONTROLADOR) $(SOURCE_EXTRA)
-LIBS=-pkg:glade-sharp-2.0 -pkg:gtk-sharp-2.0
-GLADE=-res:../glade/main.glade -res:../glade/consultar_afiliado.glade
+SOURCE_VISTAS=$(shell ls --color=none Vistas/*.cs)
+
+SOURCE=$(SOURCE_DOMINIO) $(SOURCE_CONTROLADOR) $(SOURCE_EXTRA) $(SOURCE_VISTAS)
+
+LIBS=-pkg:glade-sharp-2.0 -pkg:gtk-sharp-2.0 -r:./bin/db4o.dll
+GLADE= \
+ -res:../glade/main.glade \
+ -res:../glade/consultar_afiliado.glade \
+ -res:../glade/ingresar_solicitud.glade \
+ -res:../glade/emitir_hoja_de_ruta.glade
+
all:
- mcs -out:$(TARGET) $(GLADE) $(LIBS) -target:exe $(SOURCE)
+ mcs -out:bin/$(TARGET) $(GLADE) $(LIBS) -target:exe $(SOURCE)
+
+clean:
+ rm -rf bin/$(TARGET)
+