diff --git a/Makefile b/Makefile index e117a77..fe3f943 100644 --- a/Makefile +++ b/Makefile @@ -4,10 +4,6 @@ CC = gcc CFLAGS = -Wall -Wextra -Werror -Wno-unused-parameter CFLAGS += -Wno-unused-variable -Wno-unused-function CFLAGS += -Wno-unused-but-set-variable -Wno-unused-value -Wno-unused-label -CFLAGS += -Wno-unused-result -Wno-unused-const-variable -CFLAGS += -fno-exceptions -fno-asynchronous-unwind-tables -fno-ident -CFLAGS += -fno-unwind-tables -fno-stack-protector -fno-plt -fno-pic -CFLAGS += -O3 -std=c99 -march=native -mtune=native -fomit-frame-pointer C_SOURCES = $(wildcard *.c) C_HEADERS = $(wildcard *.h) @@ -23,14 +19,13 @@ all: $(OBJECTS) %.s: %.c $(C_HEADERS) @echo "CC $<" @$(CC) $(CFLAGS) -S -masm=intel $< - wc -l $@ clean: - rm -f $(OBJECTS) $(ASMS) + rm -f $(OBJECTS) asm: $(ASMS) format: clang-format -i $(C_SOURCES) $(C_HEADERS) -.PHONY: all clean format asm +.PHONY: all clean format asm \ No newline at end of file