I2P: End-to-End encrypted and anonymous Internet https://i2pd.website/
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.

24 lines
507 B

CC = g++
CFLAGS = -g -Wall
CXXVER := $(shell ${CC} -dumpversion)
ifeq ($(shell expr match ${CXXVER} "4\.[0-5]"),3)
$(error Compiler too old)
endif
ifeq (${CXXVER},"4.6")
CFLAGS += -std=c++0x
else
CFLAGS += -std=c++11
endif
include filelist.mk
INCFLAGS =
LDFLAGS = -lcryptopp -lboost_system -lboost_date_time -lboost_filesystem -lboost_regex -lboost_program_options -lpthread
LIBS =
#check if AES-NI is supported by CPU
ifneq ($(shell grep -c aes /proc/cpuinfo),0)
CPU_FLAGS = -maes -DAESNI
endif