SOURCES=AssemblyInfo.cs \ Main.cs \ MainWindow.cs \ WindowAttention.cs \ gtk-gui/generated.cs \ gtk-gui/MainWindow.cs \ gtk-gui/lliurex.imagewriter.WindowAttention.cs CSC = gmcs CSC_FLAGS = -r:Mono.Posix.dll -pkg:gtk-sharp-2.0 RESOURCES = header.png OUT = lliurex-image-writer.exe clean: rm -rf bin release: $(SOURCES) mkdir -p bin/Release/ $(CSC) $(CSC_FLAGS) $(SOURCES) -resource:$(RESOURCES) -out:bin/Release/$(OUT) debug: $(SOURCES) mkdir -p bin/Debug/ $(CSC) $(CSC_FLAGS) $(SOURCES) -resource:$(RESOURCES) -out:bin/Debug/$(OUT) -debug