Commit e4ee8bbb authored by Caleb C. Sander's avatar Caleb C. Sander
Browse files

Simplify Makefile

parent 79bba4b6
No related merge requests found
Showing with 1 addition and 15 deletions
+1 -15
......@@ -3,22 +3,8 @@ CFLAGS = -O3 -Wall -Wextra -Iinclude
all: bin/cache_timing bin/index_guesser bin/recover_local_secret bin/recover_protected_local_secret bin/exploit
bin/cache_timing: src/cache_timing.c lib/util.c
bin/%: src/%.c lib/util.c
$(CC) $(CFLAGS) $^ -o $@
bin/index_guesser: src/index_guesser.c lib/util.c
$(CC) $(CFLAGS) $^ -o $@
bin/recover_local_secret: src/recover_local_secret.c lib/util.c
$(CC) $(CFLAGS) $^ -o $@
bin/recover_protected_local_secret: src/recover_protected_local_secret.c lib/util.c
$(CC) $(CFLAGS) $^ -o $@
bin/exploit: src/exploit.c lib/util.c
$(CC) $(CFLAGS) $^ -o $@
clean:
rm -f bin/*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment