summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMatthew Sotoudeh <matthew@masot.net>2024-05-16 15:15:40 -0700
committerMatthew Sotoudeh <matthew@masot.net>2024-05-16 15:15:40 -0700
commit92996a3671732b6c883b325414a1e313786d48d6 (patch)
tree94b29907c5e167ca44ebd8e232ba9e3f44a7e58a /Makefile
parent54c09d54c0c170f1369751f8bf5a8a0b771a167c (diff)
checker
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e856534..29929fd 100644
--- a/Makefile
+++ b/Makefile
@@ -5,11 +5,18 @@ CFLAGS += -O3
CFLAGS += -I./magic_buddy
# CFLAGS += -fsanitize=address
-all: build/examples/main
+all: build/examples/main build/imc/checker
build/examples/%: examples/%.c magic_buddy/magic_buddy.c
@ mkdir -p $(dir $@)
$(CC) $(CFLAGS) $^ -o $@
+IMCFLAGS += -I./imc/libimc
+IMCFLAGS += -DN_WORKERS=32
+IMCFLAGS += -DREPORT_FREQ=5
+build/imc/%: imc/%.c magic_buddy/magic_buddy.c imc/libimc/master.c imc/libimc/worker.c
+ @ mkdir -p $(dir $@)
+ $(CC) $(CFLAGS) $(IMCFLAGS) $^ -o $@
+
clean:
rm -rf build
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback