SOURCES=grid-creator/grid-creator/*.cs \ grid-creator/grid-creator/gtk-gui/*.cs \ CSC = gmcs CSC_FLAGS = -pkg:glade-sharp-2.0 -pkg:ndesk-dbus-1.0 -r:ICSharpCode.SharpZipLib.dll -res:grid-creator/rsrc/ArchiveExport.glade -res:grid-creator/rsrc/NewProjectDialog.glade -res:grid-creator/rsrc/SaveFileWindow.glade -res:grid-creator/rsrc/SaveSoundWindow.glade -res:grid-creator/rsrc/EditPict.glade -r:Mono.Posix.dll -pkg:gtk-sharp-2.0 -r:System.Drawing -r:System.Xml -r:Mono.Cairo -r:Mono.GetOptions -r:Mono.Data -r:libmono-lliurex-utils -r:Mono.Data.Sqlite -optimize+ OUT = grid-creator.exe PKG_CONFIG_PATH = "/usr/lib/pkgconfig" RESOURCE = grid-creator/rsrc/AddColumn.png,gridcreator.AddColumn.png RESOURCE1 = grid-creator/rsrc/AddRow.png,gridcreator.AddRow.png RESOURCE2 = grid-creator/rsrc/DeleteColumn.png,gridcreator.DeleteColumn.png RESOURCE3 = grid-creator/rsrc/DeleteRow.png,gridcreator.DeleteRow.png clean: rm -rf grid-creator/grid-creator/bin/ rm -f grid-creator/grid-creator/zero-net-boot.pidb release: $(SOURCES) mkdir -p grid-creator/grid-creator/bin/Release/ $(CSC) $(CSC_FLAGS) $(SOURCES) -resource:$(RESOURCE) -resource:$(RESOURCE1) -resource:$(RESOURCE2) -resource:$(RESOURCE3) -out:grid-creator/grid-creator/bin/Release/$(OUT) debug: $(SOURCES) mkdir -p grid-creator/grid-creator/bin/Debug/ $(CSC) $(CSC_FLAGS) $(SOURCES) -out:grid-creator/grid-creator/bin/Debug/$(OUT) -debug