SOURCES= ./amic-editor/*.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.dll -res:amic-editor/rsrc/Export2OO.glade -res:amic-editor/rsrc/ArchiveExport.glade -res:amic-editor/rsrc/NewThemeDialog.glade -res:amic-editor/rsrc/SaveFileWindow.glade -res:amic-editor/rsrc/NewCathegoryDialog.glade -res:amic-editor/rsrc/SaveSoundWindow.glade -res:amic-editor/rsrc/Prefs.glade -res:amic-editor/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/amic-editor/rsrc/independent.png,zeroserverwizard.rsrc.independent.png clean: rm -rf ./amic-editor/bin/ rm -f ./amic-editor/test_project.pidb release: $(SOURCES) mkdir -p ./amic-editor/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:./amic-editor/bin/Release/$(OUT) debug: $(SOURCES) mkdir -p ./amic-editor/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:./amic-editor/bin/Debug/$(OUT) -debug