34 lines
717 B
Lua
34 lines
717 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_par_opt")
|
|
set_kind("binary")
|
|
add_files("count_words_par_opt.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") |