diff options
Diffstat (limited to 'odk/examples/CLI/VB.NET/WriterDemo/Makefile')
-rw-r--r-- | odk/examples/CLI/VB.NET/WriterDemo/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/odk/examples/CLI/VB.NET/WriterDemo/Makefile b/odk/examples/CLI/VB.NET/WriterDemo/Makefile index ac60d7ef4536..2fd3f993ce2c 100644 --- a/odk/examples/CLI/VB.NET/WriterDemo/Makefile +++ b/odk/examples/CLI/VB.NET/WriterDemo/Makefile @@ -42,12 +42,19 @@ $(WRITERDEMO_OUT)/%.exe: %.vb -reference:System.Windows.Forms.dll \ $^ +ifeq "$(OS)" "WIN" WriterDemo : $(WRITERDEMO_OUT)/WriterDemo.exe @echo ------------------------------------------------------------------------------- @echo Please use the following command to execute the example! @echo - @echo $(MAKE) WriterDemo.run @echo ------------------------------------------------------------------------------- +else +WriterDemo : + @echo -------------------------------------------------------------------------------- + @echo This example works only under Windows! + @echo -------------------------------------------------------------------------------- +endif %.run : $(WRITERDEMO_OUT)/%.exe @echo ------------------------------------------------------------------------------- |