myuan пре 2 година
родитељ
комит
6af9f69625
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      xmake.lua

+ 2 - 1
xmake.lua

@@ -2,7 +2,8 @@ add_rules("mode.debug", "mode.release")
 
 target("sql-parser")
     set_kind("binary")
-    add_files("src/*.c")
+    add_rules("lex", "yacc")
+    add_files("src/*.l", "src/*.y")
 
 --
 -- If you want to known more usage about xmake, please see https://xmake.io