2020-05-13 13:23:07 +03:00
|
|
|
include $(IDRIS2_CURDIR)/config.mk
|
|
|
|
|
2020-05-16 20:08:00 +03:00
|
|
|
CFLAGS += $(OPT) -std=c99 -pipe -fdata-sections -ffunction-sections -D_POSIX_C_SOURCE=200809L
|
2020-02-24 13:31:24 +03:00
|
|
|
|
2020-04-22 16:14:11 +03:00
|
|
|
ifeq ($(OS),bsd)
|
2020-05-13 13:23:07 +03:00
|
|
|
GMP_INCLUDE_DIR = -I/usr/local/include
|
|
|
|
GMP_LIB_DIR = -L/usr/local/lib
|
2020-04-22 16:14:11 +03:00
|
|
|
else ifeq ($(OS),darwin)
|
|
|
|
GMP_INCLUDE_DIR =
|
|
|
|
GMP_LIB_DIR =
|
2020-02-24 13:31:24 +03:00
|
|
|
else ifeq ($(OS),windows)
|
2020-04-22 16:14:11 +03:00
|
|
|
GMP_INCLUDE_DIR =
|
|
|
|
GMP_LIB_DIR =
|
2020-02-24 13:31:24 +03:00
|
|
|
else
|
2020-04-22 16:14:11 +03:00
|
|
|
GMP_INCLUDE_DIR =
|
|
|
|
GMP_LIB_DIR =
|
2020-02-24 13:31:24 +03:00
|
|
|
endif
|