diff options
| author | Fuwn <[email protected]> | 2024-06-11 06:40:35 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-06-11 06:41:52 +0000 |
| commit | 970099af7deec70d3689c055ddaa7417e7b0cb7a (patch) | |
| tree | eae0d2e752d15c47c86a8eb176ba4feb820d4aa1 /build.ninja | |
| parent | docs(readme): add options to docker (diff) | |
| download | maple-970099af7deec70d3689c055ddaa7417e7b0cb7a.tar.xz maple-970099af7deec70d3689c055ddaa7417e7b0cb7a.zip | |
build: switch from ninja to tup
Diffstat (limited to 'build.ninja')
| -rw-r--r-- | build.ninja | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/build.ninja b/build.ninja deleted file mode 100644 index 3d31c08..0000000 --- a/build.ninja +++ /dev/null @@ -1,26 +0,0 @@ -cc = clang++ -cxxflags = -Weverything -Wno-c++98-compat -std=c++20 -ldflags = -lssl -lcrypto -out_dir = out -name = maple -src_dir = $name - -rule compile - command = $cc $cxxflags -c $in -o $out - -rule link - command = $cc $ldflags $in -o $out - -rule clang_format - command = clang-format -i -style=LLVM $src_dir/*$cc_ext $src_dir/*.hh - -build $out_dir/$name.o: compile $src_dir/$name.cc -build $out_dir/gemini.o: compile $src_dir/gemini.cc -build $out_dir/titan.o: compile $src_dir/titan.cc - -build $out_dir/$name: link $out_dir/$name.o $out_dir/gemini.o $out_dir/titan.o - -build _format: clang_format -build format: phony _format - -default $out_dir/$name |