SOURCES= *.cs \ CSC = gmcs CSC_FLAGS = -r:Mono.Posix.dll -pkg:glade-sharp-2.0 -pkg:gtk-sharp-2.0 -r:libmono-lliurex-utils -r:Mono.Cairo -pkg:ndesk-dbus-1.0 -r:ICSharpCode.SharpZipLib.dlls -res:rsrc/ArchiveExport.glade -res:rsrc/NewThemeDialog.glade -res:rsrc/SaveFileWindow.glade -res:rsrc/SaveSoundWindow.glade -res:rsrc/NewCathegoryDialog.glade -res:rsrc/Prefs.glade -res:rsrc/GalleryPicts.glade -r:Mono.GetOptions -r:Mono.Data -optimize+ OUT = lliurex-amic-editor.exe PKG_CONFIG_PATH = "/usr/lib/pkgconfig" #resource example #RESOURCE = zero-server-wizard/rsrc/independent.png,zeroserverwizard.rsrc.independent.png clean: rm -rf ./bin/ rm -f ./test_project.pidb release: $(SOURCES) mkdir -p ./bin/Release/ #example for compiling projects with resources #$(CSC) $(CSC_FLAGS) $(SOURCES) -resource:$(RESOURCE) -out:zero-server-wizard/bin/Release/$(OUT) $(CSC) $(CSC_FLAGS) $(SOURCES) -out:./bin/Release/$(OUT) debug: $(SOURCES) mkdir -p ./bin/Debug/ #$(CSC) $(CSC_FLAGS) $(SOURCES) -resource:$(RESOURCE) -resource:$(RESOURCE2) -resource:$(RESOURCE3) -resource:$(RESOURCE4) -resource:$(RESOURCE5) -resource:$(RESOURCE6) -resource:$(RESOURCE7) -resource:$(RESOURCE8) -resource:$(RESOURCE9) -resource:$(RESOURCE10) -resource:$(RESOURCE11) -resource:$(RESOURCE12) -resource:$(RESOURCE13) -out:/srv/svn/llx-apps/lliurex-amic-editor/amic-editor/bin/Debug/$(OUT) -debug $(CSC) $(CSC_FLAGS) $(SOURCES) -out:./bin/Debug/$(OUT) -debug