If you have anything, you will leave a message here!

xiaoxiao2021-03-06  114

INCLUDE HELPER_DAEMON / Daemon.mk build_dir = build ifneq ($ (build_dir), $ (Wildcard $ (build_dir)) $ (shell mkdir $ (build_dir) Endif

Target = helperd obj_file = $ (addprefix $ (build_dir) /, $ (patsubst% .c,%. O, $ (notdir $ (src_file))))))

$ (Target): $ (obj_file) gcc -o $ @ $ ^

Clean: RM -F $ (OBJ_FILE) $ (Target)

转载请注明原文地址:https://www.9cbs.com/read-126305.html

New Post(0)