Commit fe6139fe authored by Florian Fischer's avatar Florian Fischer
Browse files

improve Makefile

add more PHONY declarations
parent ddcb2688
......@@ -10,7 +10,7 @@ LDFLAGS := -luring -pthread -lrt -lm -laio
CFLAGS := -Werror -Wall -g -O3
# CFLAGS := -Werror -Wall -g -O0
.PHONY: all clean eval stats dataref docker-eval docker-stats docker-dataref check
.PHONY: all clean eval stats dataref docker-eval docker-stats docker-dataref
eval: all
@for syscall in $(SYSCALLS); do echo -n "$$syscall "; ./bench-$$syscall; done
......@@ -48,13 +48,17 @@ $(foreach syscall,$(SYSCALLS),$(eval $(call generateTargets,$(syscall))))
clean:
rm -f $(OBJ)
.PHONY: check
check: tidy check-format
.PHONY: tidy
tidy:
clang-tidy *.c
.PHONY: check-format
check-format:
tools/check-format
.PHONY: format
format:
clang-format -i *.c *.h
Supports Markdown
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