You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
429 B
14 lines
429 B
5 years ago
|
OPT := -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto -fuse-linker-plugin
|
||
|
CFLAGS := $(OPT) -Wall -Wextra -std=c17
|
||
|
LDFLAGS := $(OPT)
|
||
|
|
||
|
d01: CFLAGS += $(shell pkg-config --cflags openssl) -pthread
|
||
|
d01: LDLIBS += $(shell pkg-config --libs openssl)
|
||
|
|
||
|
programs := $(patsubst %.c, %, $(wildcard *.c))
|
||
|
.PHONY: all
|
||
|
all: $(programs)
|
||
|
.PHONY: clean
|
||
|
clean:
|
||
|
rm -f $(programs)
|