summaryrefslogtreecommitdiff
path: root/odk/examples/CLI/CSharp
diff options
context:
space:
mode:
authorJuergen Schmidt <jsc@openoffice.org>2010-10-28 16:35:23 +0200
committerJuergen Schmidt <jsc@openoffice.org>2010-10-28 16:35:23 +0200
commit7b79ab8131a422e582953518d2c85c7c540de563 (patch)
tree9ecbba8d2c21745dda963d9c28fb46d69defd331 /odk/examples/CLI/CSharp
parentfa59c73830964b2add1443f5b081982342802eca (diff)
jsc340: i115253: insert message windows only
Diffstat (limited to 'odk/examples/CLI/CSharp')
-rw-r--r--odk/examples/CLI/CSharp/Spreadsheet/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/odk/examples/CLI/CSharp/Spreadsheet/Makefile b/odk/examples/CLI/CSharp/Spreadsheet/Makefile
index cbe43167905d..bae593f34069 100644
--- a/odk/examples/CLI/CSharp/Spreadsheet/Makefile
+++ b/odk/examples/CLI/CSharp/Spreadsheet/Makefile
@@ -25,10 +25,7 @@ CLI_LIB_LOCATION = $(PRJ)\cli
# Targets
.PHONY : ALL
-ALL : SpreadsheetSample \
- GeneralTableSample \
- ViewSample \
- Info
+ALL : Info
include $(SETTINGS)/stdtarget.mk
@@ -56,7 +53,8 @@ GeneralTableSample : $(SPREADSHEET_OUT)/GeneralTableSample.exe
ViewSample : $(SPREADSHEET_OUT)/ViewSample.exe
.PHONY : Info
-Info :
+ifeq "$(OS)" "WIN"
+Info : SpreadsheetSample GenerateTableSample ViewSample
@echo -------------------------------------------------------------------------------
@echo Please use one of the following commands to execute the examples!
@echo -
@@ -64,7 +62,12 @@ Info :
@echo $(MAKE) SpreadsheetSample.run
@echo $(MAKE) ViewSample.run
@echo -------------------------------------------------------------------------------
-
+else
+Info :
+ @echo --------------------------------------------------------------------------------
+ @echo This example works only under Windows!
+ @echo --------------------------------------------------------------------------------
+endif
%.run : $(SPREADSHEET_OUT)/%.exe
@echo -------------------------------------------------------------------------------