source: lliurex-miniscreen/trunk/fuentes/makefile @ 4381

Last change on this file since 4381 was 345, checked in by mabarracus, 4 years ago

add trusty code
fixed compilation
fixed package dependencies in xenial

  • Property svn:executable set to *
File size: 786 bytes
Line 
1
2SOURCES=miniscreen/*.cs                                         \
3                miniscreen/gtk-gui/*.cs                         \
4
5
6       
7CSC = dmcs
8CSC_FLAGS = -r:Mono.Posix.dll -pkg:gtk-sharp-2.0 -pkg:notify-sharp -r:Mono.Cairo -r:System.Data -r:/usr/lib/mono/4.0/libmono-lliurex-utils.dll -optimize+
9# Fix build by M.Angel
10#-r:libmono-lliurex-utils -optimize+
11OUT = miniscreen.exe
12PKG_CONFIG_PATH = "/usr/lib/pkgconfig"
13RESOURCE = rsrc/LliureX-MiniScreen.png,MiniScreen.Lliurex-MiniScreen.png
14
15clean: 
16        rm -rf miniscreen/bin/
17        rm -f miniscreen/miniscreen.pidb
18
19release: $(SOURCES)
20        mkdir -p miniscreen/bin/Release/
21        $(CSC) $(CSC_FLAGS) $(SOURCES) -resource:$(RESOURCE) -out:miniscreen/bin/Release/$(OUT) 
22
23       
24debug: $(SOURCES)
25        mkdir -p miniscreen/bin/Debug/
26        $(CSC) $(CSC_FLAGS) $(SOURCES) -resource:$(RESOURCE) -out:miniscreen/bin/Debug/$(OUT)    -debug
Note: See TracBrowser for help on using the repository browser.