Compare commits
No commits in common. "e24b2f7904f67e9d7ebde822fc3b2c686f9d0128" and "1edc5adc2af8dc4138a179b77940d9ee5d0679f7" have entirely different histories.
e24b2f7904
...
1edc5adc2a
1 changed files with 2 additions and 7 deletions
7
Makefile
7
Makefile
|
@ -4,10 +4,6 @@ CC = gcc
|
||||||
CFLAGS = -Wall -Wextra -Werror -Wno-unused-parameter
|
CFLAGS = -Wall -Wextra -Werror -Wno-unused-parameter
|
||||||
CFLAGS += -Wno-unused-variable -Wno-unused-function
|
CFLAGS += -Wno-unused-variable -Wno-unused-function
|
||||||
CFLAGS += -Wno-unused-but-set-variable -Wno-unused-value -Wno-unused-label
|
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_SOURCES = $(wildcard *.c)
|
||||||
C_HEADERS = $(wildcard *.h)
|
C_HEADERS = $(wildcard *.h)
|
||||||
|
@ -23,10 +19,9 @@ all: $(OBJECTS)
|
||||||
%.s: %.c $(C_HEADERS)
|
%.s: %.c $(C_HEADERS)
|
||||||
@echo "CC $<"
|
@echo "CC $<"
|
||||||
@$(CC) $(CFLAGS) -S -masm=intel $<
|
@$(CC) $(CFLAGS) -S -masm=intel $<
|
||||||
wc -l $@
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(OBJECTS) $(ASMS)
|
rm -f $(OBJECTS)
|
||||||
|
|
||||||
asm: $(ASMS)
|
asm: $(ASMS)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue