2026-01-19 22:25:53 +08:00

30 lines
600 B
Lua

set_xmakever("2.8.2")
set_project("pthread-lab")
set_version("1.0.0")
add_rules("mode.debug", "mode.release")
target("count_words_par")
set_kind("binary")
add_files("count_words_par.c")
add_links("pthread")
target("count_words_ser")
set_kind("binary")
add_files("count_words_ser.c")
target("pi_ser")
set_kind("binary")
add_files("pi_ser.c")
add_links("pthread")
target("pi_par")
set_kind("binary")
add_files("pi_par.c")
add_links("pthread")
target("pthread_hello")
set_kind("binary")
add_files("pthread_hello.c")
add_links("pthread")