| CS ?= gmcs | |
| LIBS += -reference:System.Drawing.dll -reference:System.Windows.Forms.dll | |
| ifdef HAVE_SYSTEM_CONFIGURATION | |
| DEFINES += -define:HAVE_SYSTEM_CONFIGURATION | |
| LIBS += -reference:System.Configuration.dll | |
| else | |
| LIBS += -reference:Rivoreo.Configurations.dll | |
| endif | |
| SOURCES := screenshooter.cs assemblyinfo.cs | |
| screenshooter.exe: $(SOURCES) | |
| $(CS) $(DEFINES) $^ -target:winexe -out:$@ $(LIBS) | |
| clean: | |
| rm -f screenshooter.exe |