diff options
| author | Eugen Wissner <belka@caraus.de> | 2023-04-01 14:16:44 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2023-04-01 14:17:08 +0200 |
| commit | f46a16b4a0d50b6512df2b312f7f800a9a963ca2 (patch) | |
| tree | 8b385dc31c90065ba8e5a970dec9c931d68b7f43 /build.ninja | |
| parent | 0385dbbe53cbeb89b541fa6ae659540a261bc69b (diff) | |
| download | slackbuilder-f46a16b4a0d50b6512df2b312f7f800a9a963ca2.tar.gz | |
Add an utility to list all installed packages
Diffstat (limited to 'build.ninja')
| -rw-r--r-- | build.ninja | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/build.ninja b/build.ninja new file mode 100644 index 0000000..0d2507b --- /dev/null +++ b/build.ninja @@ -0,0 +1,16 @@ +rule cxx + command = g++ -c -o $out $in + description = CXX $out + +rule link + command = g++ -o $out $in + description = LINK $out + +build build/package.o: cxx src/package.cpp | src/package.h +build build/command.o: cxx src/command.cpp | src/command.h build/package.o + +build build/main.o: cxx src/main.cpp + +build build/slackbuilder: link build/main.o build/command.o build/package.o + +default build/slackbuilder |
