summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2023-05-29 20:44:40 -0400
committerBenji Dial <benji@benjidial.net>2023-05-29 20:44:40 -0400
commitb50e93257b0b73109b1e815219076e443d1a291e (patch)
tree119b92a4bee36d8904e2e2a612872aba0726fd7c /makefile
parent67a30f10dd690c8e7f8b18f7710a59449ce1a8ea (diff)
downloadlib94-b50e93257b0b73109b1e815219076e443d1a291e.tar.gz
scorer
Diffstat (limited to 'makefile')
-rw-r--r--makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/makefile b/makefile
index 62e2684..07109bf 100644
--- a/makefile
+++ b/makefile
@@ -2,7 +2,7 @@ CPP_ARGS = -std=c++20 -O2 -Wall -Wextra -Iinclude
GTKMM_CPP_ARGS = $(shell pkg-config --cflags gtkmm-4.0)
GTKMM_LD_ARGS = $(shell pkg-config --libs gtkmm-4.0)
-default: bin/bench
+default: bin/bench bin/score
clean:
rm -r obj bin
@@ -11,6 +11,10 @@ bin/bench: obj/bench/main.o obj/bench/bench_window.o obj/bench/core_widget.o obj
@mkdir -p $(dir $@)
g++ ${CPP_ARGS} $^ ${GTKMM_LD_ARGS} -o $@
+bin/score: obj/score/main.o obj/lib94.o
+ @mkdir -p $(dir $@)
+ g++ ${CPP_ARGS} $^ -o $@
+
obj/lib94.o: obj/lib94/core.o obj/lib94/executors.o obj/lib94/warrior.o
ld -r $^ -o $@