Makefile (0c00bdcc) | Makefile (38e1b26a) |
---|---|
1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 38 unchanged lines hidden (view full) --- 47# Targets 48.PHONY : ALL 49ALL : Info 50 51include $(SETTINGS)/stdtarget.mk 52 53 54# build executables | 1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 38 unchanged lines hidden (view full) --- 47# Targets 48.PHONY : ALL 49ALL : Info 50 51include $(SETTINGS)/stdtarget.mk 52 53 54# build executables |
55#csc -lib:"d:\StarOffice 8" does not work. csc does not understand the quotes. | 55#csc -lib:"d:\OpenOffice 4" does not work. csc does not understand the quotes. |
56#but they are needed if the path contains a space. Therefore we use full path 57#with the -reference switch 58$(SPREADSHEET_OUT)/%.exe : %.cs SpreadsheetDocHelper.cs 59 -$(MKDIR) $(subst /,$(PS),$(@D)) 60 csc $(CSC_FLAGS) \ 61 -target:exe \ 62 -out:$@ \ 63 -reference:"$(CLI_LIB_LOCATION)"\cli_basetypes.dll \ --- 6 unchanged lines hidden (view full) --- 70SpreadsheetSample : $(SPREADSHEET_OUT)/SpreadsheetSample.exe 71 72GeneralTableSample : $(SPREADSHEET_OUT)/GeneralTableSample.exe 73 74ViewSample : $(SPREADSHEET_OUT)/ViewSample.exe 75 76.PHONY : Info 77ifeq "$(OS)" "WIN" | 56#but they are needed if the path contains a space. Therefore we use full path 57#with the -reference switch 58$(SPREADSHEET_OUT)/%.exe : %.cs SpreadsheetDocHelper.cs 59 -$(MKDIR) $(subst /,$(PS),$(@D)) 60 csc $(CSC_FLAGS) \ 61 -target:exe \ 62 -out:$@ \ 63 -reference:"$(CLI_LIB_LOCATION)"\cli_basetypes.dll \ --- 6 unchanged lines hidden (view full) --- 70SpreadsheetSample : $(SPREADSHEET_OUT)/SpreadsheetSample.exe 71 72GeneralTableSample : $(SPREADSHEET_OUT)/GeneralTableSample.exe 73 74ViewSample : $(SPREADSHEET_OUT)/ViewSample.exe 75 76.PHONY : Info 77ifeq "$(OS)" "WIN" |
78Info : SpreadsheetSample GenerateTableSample ViewSample | 78Info : SpreadsheetSample GeneralTableSample ViewSample |
79 @echo ------------------------------------------------------------------------------- 80 @echo Please use one of the following commands to execute the examples! 81 @echo - 82 @echo $(MAKE) GeneralTableSample.run 83 @echo $(MAKE) SpreadsheetSample.run 84 @echo $(MAKE) ViewSample.run 85 @echo ------------------------------------------------------------------------------- 86else --- 17 unchanged lines hidden --- | 79 @echo ------------------------------------------------------------------------------- 80 @echo Please use one of the following commands to execute the examples! 81 @echo - 82 @echo $(MAKE) GeneralTableSample.run 83 @echo $(MAKE) SpreadsheetSample.run 84 @echo $(MAKE) ViewSample.run 85 @echo ------------------------------------------------------------------------------- 86else --- 17 unchanged lines hidden --- |