- Port server core and libraries to Linux and 32-bit ARM (armhf): * Replace FreeBSD kqueue with Linux epoll in libthecore fdwatch * Fix unaligned float and 64-bit int memory stores in utils.h str_to_number to avoid ARM VFP alignment fault (SIGBUS) * Fix getopt loop variable type in main.cpp (char -> int) to eliminate infinite loop caused by default unsigned char on ARM * Add -fsigned-char and multi-architecture flags to Makefiles (x86_64 -m32, i386, and ARM armhf) * Update libsql for modern MariaDB client library (removed reconnect field) and C++20 concept/syntax compatibility * Replace Win32 xdirent with standard POSIX dirent on Unix/Linux * Include xmd5 in libthecore on non-FreeBSD platforms - AVA2 unlock features and tools: * Material stacking up to 2000 count, refine material resolution and test suites * AVA2 ticket shop and point drop configuration updates
32 lines
447 B
Makefile
Executable File
32 lines
447 B
Makefile
Executable File
CXX ?= clang++-devel
|
|
|
|
BIN = ./libserverkey.a
|
|
|
|
IFLAGS =
|
|
CFLAGS ?= $(IFLAGS) -Wall -O2 -pipe -std=c++2b -D_THREAD_SAFE -fno-exceptions
|
|
|
|
LIBS =
|
|
|
|
OBJFILES = base64_ssl.o RSACrypto.o
|
|
|
|
default:
|
|
$(MAKE) $(BIN)
|
|
|
|
$(BIN): $(OBJFILES)
|
|
ar cru $(BIN) $(OBJFILES) $(LIBS)
|
|
ranlib $(BIN)
|
|
chmod 700 $(BIN)
|
|
|
|
clean:
|
|
rm -f *.o
|
|
rm -f $(BIN)
|
|
|
|
dep:
|
|
touch Depend
|
|
$(CXX) $(CFLAGS) -MM *.cpp > Depend
|
|
|
|
%.o: %.cpp
|
|
$(CXX) $(CFLAGS) -c $< -o $@
|
|
|
|
sinclude Depend
|