source: llum/trunk/fuentes/Makefile @ 532

Last change on this file since 532 was 376, checked in by hectorgh, 5 years ago

adding project files

File size: 1.0 KB
Line 
1
2SOURCES=        llum/*.cs                                               \
3                llum/gtk-gui/*.cs
4               
5       
6CSC = dmcs
7CSC_FLAGS = -r:Mono.Posix.dll -pkg:gtk-sharp-2.0 -pkg:xmlrpcnet -pkg:libnewtonsoft-json5.0-cil -r:libmono-lliurex-utils -optimize+
8OUT = llum.exe
9PKG_CONFIG_PATH = "/usr/lib/pkgconfig"
10
11RESOURCE = rsrc/watch.gif,llum.watch.gif
12RESOURCE2 = rsrc/llum.svg,llum.llum.svg
13
14NO_COLOR    = \x1b[0m
15COMPILE_COLOR    = \x1b[32;01m
16LINK_COLOR    = \x1b[31;01m
17
18clean: 
19        rm -rf bin/
20        rm -f lliurex-control-center.pidb
21        @echo -e '$(LINK_COLOR)* Cleaning [$@]$(NO_COLOR)'
22        @$(MAKE) -C banners-rsrc/ $@
23
24banners:
25        @echo -e '$(LINK_COLOR)* Building [$@]$(NO_COLOR)'
26        @$(MAKE) -C banners-rsrc/ -j2 $@
27       
28banners-clean:
29        @echo -e '$(LINK_COLOR)* Cleaning [$@]$(NO_COLOR)'
30        @$(MAKE) -C banners-rsrc/ $@
31       
32
33
34release: $(SOURCES)
35        mkdir -p bin/Release/
36        LC_CTYPE=C.UTF-8 $(CSC) $(CSC_FLAGS) $(SOURCES) -resource:$(RESOURCE) -resource:$(RESOURCE2) -out:bin/Release/$(OUT)
37       
38       
39       
40debug: $(SOURCES)
41        mkdir -p bin/Debug/
42        $(CSC) $(CSC_FLAGS) $(SOURCES) -resource:$(RESOURCE) -resource:$(RESOURCE2) -out:bin/Debug/$(OUT)        -debug
Note: See TracBrowser for help on using the repository browser.