39 lines
870 B
Makefile
Executable File
39 lines
870 B
Makefile
Executable File
###################################
|
|
# License: Modified MIT (NON-AI)
|
|
# Copyright 2025 Timothy Prepscius
|
|
# See the LICENSE file in the root directory for license information.
|
|
###################################
|
|
|
|
ifeq (Linux,$(SYS_NAME))
|
|
|
|
# Somehow on linux dockers, under colima, dependencies
|
|
# cause problems -
|
|
# USE_DEPENDENCIES := 0
|
|
|
|
GCCC := gcc
|
|
|
|
AR := ar
|
|
CC := ${GCCC}
|
|
CPP := ${GCCC}
|
|
MM := ${GCCC}
|
|
M := ${GCCC}
|
|
LINK := ${GCCC}
|
|
|
|
_FLAGS += \
|
|
-DSYS_LINUX \
|
|
-DSYS_X86 \
|
|
-ldl -lm -lstdc++ -pthread \
|
|
-Wno-stringop-overflow \
|
|
-Wno-stringop-overread \
|
|
-fno-omit-frame-pointer
|
|
|
|
# not needed with newer boost
|
|
# -DBOOST_NO_CXX98_FUNCTION_BASE=1
|
|
# -Wno-changes-meaning does not work
|
|
|
|
LDFLAGS += -L /usr/local/lib
|
|
|
|
PLATFORM_LIBS := -ldl -lm -lstdc++ -pthread
|
|
|
|
endif
|