equal
deleted
inserted
replaced
35 include NativeCompilation.gmk |
35 include NativeCompilation.gmk |
36 include SetupJavaCompilers.gmk |
36 include SetupJavaCompilers.gmk |
37 include TextFileProcessing.gmk |
37 include TextFileProcessing.gmk |
38 include ZipArchive.gmk |
38 include ZipArchive.gmk |
39 |
39 |
|
40 # Hook to include the corresponding custom file, if present. |
|
41 $(eval $(call IncludeCustomExtension, CompileDemos-pre.gmk)) |
|
42 |
40 # Prepare the find cache. |
43 # Prepare the find cache. |
41 $(eval $(call FillCacheFind, $(wildcard $(TOPDIR)/src/demo \ |
44 DEMO_SRC_DIRS += $(TOPDIR)/src/demo |
42 $(TOPDIR)/src/*/demo))) |
45 |
|
46 $(eval $(call FillCacheFind, $(wildcard $(DEMO_SRC_DIRS)))) |
43 |
47 |
44 # Append demo goals to this variable. |
48 # Append demo goals to this variable. |
45 TARGETS = |
49 TARGETS = |
46 |
50 |
47 # The demo structure and contents should really be cleaned up. |
51 # The demo structure and contents should really be cleaned up. |
301 IMAGES_TARGETS := $(COPY_TO_TEST_IMAGE) |
305 IMAGES_TARGETS := $(COPY_TO_TEST_IMAGE) |
302 endif |
306 endif |
303 |
307 |
304 ################################################################################ |
308 ################################################################################ |
305 # Hook to include the corresponding custom file, if present. |
309 # Hook to include the corresponding custom file, if present. |
306 $(eval $(call IncludeCustomExtension, CompileDemos.gmk)) |
310 $(eval $(call IncludeCustomExtension, CompileDemos-post.gmk)) |
307 |
311 |
308 all: $(TARGETS) |
312 all: $(TARGETS) |
309 images: $(IMAGES_TARGETS) |
313 images: $(IMAGES_TARGETS) |
310 |
314 |
311 .PHONY: all |
315 .PHONY: all |