source: lliurex-miniscreen/trunk/tags/1.7/makefile @ 345

Last change on this file since 345 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: 721 bytes
Line 
1
2SOURCES=miniscreen/*.cs                                         \
3                miniscreen/gtk-gui/*.cs                         \
4
5
6       
7CSC = gmcs
8CSC_FLAGS = -r:Mono.Posix.dll -pkg:gtk-sharp-2.0 -pkg:notify-sharp -r:Mono.Cairo -r:Mono.GetOptions -r:Mono.Data -r:libmono-lliurex-utils -optimize+
9OUT = miniscreen.exe
10PKG_CONFIG_PATH = "/usr/lib/pkgconfig"
11RESOURCE = rsrc/LliureX-MiniScreen.png,MiniScreen.Lliurex-MiniScreen.png
12
13clean: 
14        rm -rf miniscreen/bin/
15        rm -f miniscreen/miniscreen.pidb
16
17release: $(SOURCES)
18        mkdir -p miniscreen/bin/Release/
19        $(CSC) $(CSC_FLAGS) $(SOURCES) -resource:$(RESOURCE) -out:miniscreen/bin/Release/$(OUT) 
20
21       
22debug: $(SOURCES)
23        mkdir -p miniscreen/bin/Debug/
24        $(CSC) $(CSC_FLAGS) $(SOURCES) -resource:$(RESOURCE) -out:miniscreen/bin/Debug/$(OUT)    -debug
Note: See TracBrowser for help on using the repository browser.