2023-04-01 14:16:44 +02:00
|
|
|
rule cxx
|
|
|
|
command = g++ -c -o $out $in
|
|
|
|
description = CXX $out
|
|
|
|
|
|
|
|
rule link
|
2023-04-02 12:46:44 +02:00
|
|
|
command = g++ -o $out $in -lboost_filesystem -lboost_system
|
2023-04-01 14:16:44 +02:00
|
|
|
description = LINK $out
|
|
|
|
|
|
|
|
build build/package.o: cxx src/package.cpp | src/package.h
|
2023-04-02 12:46:44 +02:00
|
|
|
build build/command.o: cxx src/command.cpp | src/command.h build/package.o src/config.h
|
2023-04-01 14:16:44 +02:00
|
|
|
|
|
|
|
build build/main.o: cxx src/main.cpp
|
|
|
|
|
|
|
|
build build/slackbuilder: link build/main.o build/command.o build/package.o
|
|
|
|
|
|
|
|
default build/slackbuilder
|