File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -92,14 +92,15 @@ cmake_options+=-DCARGO_TARGET_TRIPLE="${CARGO_TARGET_TRIPLE}"
92
92
export CMAKE_TARGET_TRIPLE
93
93
endif
94
94
95
+ run_file? =${build_dir}/applications/zpc/zpc
95
96
96
97
help : ./helper.mk
97
98
@echo " # ${project} : ${url} "
98
99
@echo " #"
99
100
@echo " # Usage:"
100
101
@echo " # ${<D} /${<F} setup # To setup developer system (once)"
101
102
@echo " # ${<D} /${<F} VERBOSE=1 # Default build tasks verbosely (depends on setup)"
102
- @echo " # ${<D} /${<F} # For more info"
103
+ @echo " # ${<D} /${<F} help/all # For more info"
103
104
@echo " #"
104
105
105
106
help/all : README.md NEWS.md
@@ -234,6 +235,9 @@ all: ${build_dir}/CMakeCache.txt
234
235
${build_dir}/% : all
235
236
file -E " $@ "
236
237
238
+ ${build_dir} : ${build_dir}/CMakeCache.txt
239
+ file -E " $<"
240
+
237
241
test : ${build_dir}
238
242
ctest --test-dir ${<} /${project_test_dir}
239
243
@@ -260,6 +264,10 @@ prepare: git/prepare
260
264
all/default : configure prepare all test dist
261
265
@date -u
262
266
267
+ run_args? =--help
268
+ run :
269
+ file -E ${run_file}
270
+ ${run_file} ${run_args}
263
271
264
272
# ## @rootfs is faster than docker for env check
265
273
@@ -312,7 +320,7 @@ docker_url?=${url}.git\#${docker_branch}
312
320
docker/% : Dockerfile
313
321
time docker run " ${project} :latest" -C " ${docker_workdir} " " ${@ F} "
314
322
315
- test/docker : distclean prepare/docker docker/help docker/test
323
+ test/docker : distclean prepare/docker docker/help docker/test docker/run
316
324
@echo " # ${project} : log: $@ : done: $^"
317
325
318
326
test/docker/build :
You can’t perform that action at this time.
0 commit comments