csdn瞎搞,xmake自动编译linux类makefile
-- add rules: debug/release
add_rules("mode.debug", "mode.release")
-- define target
target("main")
    -- set kind
    set_kind("binary")
    --set_kind("static")
    -- add files
    add_files("main.c")
    add_files("strings.c")
    add_files("codegen.c")
    add_files("parse.c")
    add_files("tokenize.c")
    add_files("type.c")
 
真的是瞎搞,一代不如一代.
 makefile烦人得很,又不中用.又啰嗦.nmake也没用,今天用xmake,哈,一下就搞定了.
                
            
        
浙公网安备 33010602011771号