SOURCES=zero-net-boot/*.cs \ zero-net-boot/gtk-gui/*.cs \ CSC = gmcs CSC_FLAGS = -r:Mono.Posix.dll -pkg:gtk-sharp-2.0 -r:Mono.GetOptions -r:Mono.Data -r:libmono-lliurex-utils -r:Mono.Data.Sqlite -optimize+ OUT = zero-net-boot.exe PKG_CONFIG_PATH = "/usr/lib/pkgconfig" RESOURCE = zero-net-boot/rsrc/desktop_button.svg,zeronetboot.rsrc.desktop_button.svg RESOURCE1 = zero-net-boot/rsrc/server_button.svg,zeronetboot.rsrc.server_button.svg #RESOURCE = zero-server-wizard/rsrc/independent.png,zeroserverwizard.rsrc.independent.png clean: rm -rf zero-net-boot/bin/ rm -f zero-net-boot/zero-net-boot.pidb release: $(SOURCES) mkdir -p zero-net-boot/bin/Release/ $(CSC) $(CSC_FLAGS) $(SOURCES) -resource:$(RESOURCE) -resource:$(RESOURCE1) -out:zero-net-boot/bin/Release/$(OUT) #-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) debug: $(SOURCES) mkdir -p zero-net-boot/bin/Debug/ $(CSC) $(CSC_FLAGS) $(SOURCES) -out:zero-net-boot/bin/Debug/$(OUT) -debug