blob: 434bbb9cbad01ba7730b88c467ff8c963c0a2dc3 [file] [log] [blame] [raw]
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