From 6b5766449e7420c2654a3e5681e6fe6e399812d0 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Sat, 13 Nov 2021 12:04:08 -0800 Subject: [PATCH] update Makefile for arm64 Macs --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 66c1e4cb..bb7b66b7 100644 --- a/Makefile +++ b/Makefile @@ -4,8 +4,8 @@ OBJECTS=FileContentsCache.o Menu.o PSOProtocol.o Client.o Lobby.o \ LevelTable.o Compression.o Quest.o RareItemSet.o Map.o NetworkAddresses.o \ Text.o DNSServer.o ProxyServer.o Shell.o ServerShell.o ProxyShell.o Main.o CXX=g++ -CXXFLAGS=-I/opt/local/include -I/usr/local/include -std=c++20 -g -DHAVE_INTTYPES_H -DHAVE_NETINET_IN_H -Wall -Werror -LDFLAGS=-L/opt/local/lib -L/usr/local/lib -std=c++20 -levent -levent_pthreads -lphosg -lpthread +CXXFLAGS=-I/opt/homebrew/include -I/opt/local/include -I/usr/local/include -std=c++20 -g -DHAVE_INTTYPES_H -DHAVE_NETINET_IN_H -Wall -Werror +LDFLAGS=-L/opt/homebrew/lib -L/opt/local/lib -L/usr/local/lib -std=c++20 -levent -levent_pthreads -lphosg -lpthread all: newserv