~ubuntu-branches/ubuntu/utopic/castle-game-engine/utopic

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Package Import Robot
  • Author(s): Paul Gevers
  • Date: 2013-09-08 21:18:46 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20130908211846-zzo3xbeb11fn1vil
Tags: 4.1.1-1
* New upstream release
  - Drop all patches, applied upstream
  - Add fp-units-net to Build-depends
* Add myself to uploaders
* Reorganize d/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
# Not-so-commonly-useful targets:
28
28
#
29
29
#   cleanmore --
30
 
#     Same as clean + delete Emacs backup files (*~) and Delphi backup files
31
 
#     (*.~??? (using *.~* would be too unsafe ?))
 
30
#     Same as clean, and also delete:
 
31
#     - Emacs backup files (*~) and
 
32
#     - Delphi backup files (*.~???)
 
33
#     - pasdoc generated documentation in doc/pasdoc/
32
34
#
33
35
#   cleanall --
34
36
#     Same as cleanmore for now.
62
64
  examples/audio/efx_demo \
63
65
  examples/tools/dircleaner \
64
66
  examples/tools/stringoper \
 
67
  examples/tools/castle_download \
 
68
  examples/tools/to_data_uri \
65
69
  examples/castlescript/castle_calculator \
66
70
  examples/castlescript/image_make_by_script \
67
71
  examples/images_videos/image_convert \
98
102
  examples/3d_rendering_processing/animate_3d_model_by_code_2 \
99
103
  examples/3d_rendering_processing/call_pascal_code_from_3d_model_script \
100
104
  examples/3d_rendering_processing/view_3d_model_advanced \
101
 
  examples/3d_rendering_processing/gl_primitive_performance \
102
105
  examples/3d_rendering_processing/scene_manager_demos \
103
106
  examples/3d_rendering_processing/view_3d_model_basic \
104
107
  examples/3d_rendering_processing/build_3d_object_by_code \
126
129
  $(addsuffix .exe,$(EXAMPLES_LAZARUS_BASE_NAMES)) \
127
130
  examples/fonts/font2pascal.exe
128
131
 
 
132
EXAMPLES_MACOSX_APPS := $(addsuffix .app,$(EXAMPLES_BASE_NAMES)) \
 
133
  $(addsuffix .app,$(EXAMPLES_LAZARUS_BASE_NAMES))
 
134
 
129
135
EXAMPLES_RES_FILES := $(addsuffix .res,$(EXAMPLES_BASE_NAMES)) \
130
136
  $(addsuffix .res,$(EXAMPLES_LAZARUS_BASE_NAMES))
131
137
 
140
146
.PHONY: cleanexamples
141
147
cleanexamples:
142
148
        rm -f $(EXAMPLES_UNIX_EXECUTABLES) $(EXAMPLES_WINDOWS_EXECUTABLES) $(EXAMPLES_RES_FILES)
 
149
        rm -Rf $(EXAMPLES_MACOSX_APPS)
143
150
 
144
151
.PHONY: examples-laz
145
152
examples-laz:
165
172
        rm -Rf packages/castle_base.pas \
166
173
          packages/castle_window.pas \
167
174
          packages/castle_components.pas \
 
175
          packages/alternative_castle_window_based_on_lcl.pas \
168
176
          tests/test_castle_game_engine tests/test_castle_game_engine.exe
169
177
# fpmake binary, and units/ produced by fpmake compilation
170
178
        rm -Rf fpmake fpmake.exe units/
177
185
                           -iname '*.~???' -or \
178
186
                           -iname '*.blend1' \
179
187
                        ')' -exec rm -f '{}' ';'
 
188
        $(MAKE) -C doc/pasdoc/ clean
180
189
 
181
190
cleanall: cleanmore
182
191