]> git.llucax.com Git - z.facultad/75.10/miklolife.git/blob - demo/src/Makefile
Bueh, termine de resolver conflictos.
[z.facultad/75.10/miklolife.git] / demo / src / Makefile
1 TARGET=osocial.exe
2 SOURCE_EXTRA=$(shell ls --color=none *.cs)
3
4 SOURCE_DOMINIO=$(shell ls --color=none Dominio/*.cs)
5 SOURCE_CONTROLADOR=$(shell ls --color=none Controlador/*.cs)
6 SOURCE_VISTAS=$(shell ls --color=none Vistas/*.cs)
7 SOURCE_TEST=$(shell ls --color=none Tests/*.cs)
8 SOURCE_REPORTES=$(shell ls --color=none Reportes/*.cs)
9
10 SOURCE=$(SOURCE_DOMINIO) $(SOURCE_CONTROLADOR) $(SOURCE_EXTRA) $(SOURCE_VISTAS) $(SOURCE_TEST) $(SOURCE_REPORTES)
11
12 LIBS=-pkg:glade-sharp-2.0 -pkg:gtk-sharp-2.0 -r:./bin/db4o.dll
13 GLADE_FILES=$(shell ls --color=none ../glade/*.glade)
14 GLADE=$(foreach file,$(GLADE_FILES), $(addprefix -resource:,$(file)),$(notdir $(file)))
15
16
17 all:
18         mcs -out:bin/$(TARGET) $(GLADE) $(LIBS) -target:exe $(SOURCE)
19
20 clean:
21         rm -rf bin/$(TARGET)
22