|
@@ -16,8 +16,6 @@ BUILD_LIB = build/lib |
|
|
BUILD_INC = src/GENERATED/include |
|
|
BUILD_INC = src/GENERATED/include |
|
|
BUILD_BIN = build/bin |
|
|
BUILD_BIN = build/bin |
|
|
BUILD_IBIN = build/obj/bin |
|
|
BUILD_IBIN = build/obj/bin |
|
|
BATBASE=ed448goldilocks_decaf_bats_$(TODAY) |
|
|
|
|
|
BATNAME=build/$(BATBASE) |
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(UNAME),Darwin) |
|
|
ifeq ($(UNAME),Darwin) |
|
|
CC = clang |
|
|
CC = clang |
|
@@ -49,8 +47,7 @@ endif |
|
|
|
|
|
|
|
|
TODAY = $(shell date "+%Y-%m-%d") |
|
|
TODAY = $(shell date "+%Y-%m-%d") |
|
|
|
|
|
|
|
|
#FIXME ARCHFLAGS |
|
|
|
|
|
ARCHFLAGS ?= -mavx2 -mbmi2 #TODO |
|
|
|
|
|
|
|
|
ARCHFLAGS ?= -march=native |
|
|
|
|
|
|
|
|
ifeq ($(CC),clang) |
|
|
ifeq ($(CC),clang) |
|
|
WARNFLAGS_C += -Wgcc-compat |
|
|
WARNFLAGS_C += -Wgcc-compat |
|
@@ -266,7 +263,6 @@ else |
|
|
endif |
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(BUILD_OBJ)/%.o: src/%.c $(HEADERS) |
|
|
$(BUILD_OBJ)/%.o: src/%.c $(HEADERS) |
|
|
$(CC) $(CFLAGS) -c -o $@ $< |
|
|
$(CC) $(CFLAGS) -c -o $@ $< |
|
|
|
|
|
|
|
|