Improve 2020/kurdyukov2 for MacPorts build

The -I/-L options to the compiler/linker have been updated for those who
use MacPorts with the default MacPorts prefix.
This commit is contained in:
Cody Boone Ferguson committed 2023-07-05 05:12:34 -07:00
1 parent ad31c75a7c
commit 30f7d86316
3 files changed
+10 -3

No files matched your search

+2 -2
View File
@@ -61,7 +61,7 @@ CDEFINE=
# Include files that are needed to compile
#
CINCLUDE= -I ${HOMEBREW_PREFIX}/include -I /usr/local/include
CINCLUDE= -I ${HOMEBREW_PREFIX}/include -I /usr/local/include -I /opt/local/include
# Optimization
#
@@ -73,7 +73,7 @@ CFLAGS= ${CSTD} ${CWARN} ${ARCH} ${CDEFINE} ${CINCLUDE} ${OPT}
# Libraries needed to build
#
LIBS= -L ${HOMEBREW_PREFIX}/lib -L /usr/local/lib
LIBS= -L ${HOMEBREW_PREFIX}/lib -L /usr/local/lib -L /opt/local/lib
LIBJPEG= -ljpeg
LIBPNG= -lpng
+1 -1
View File
@@ -76,7 +76,7 @@ make prog_ppm
### Building on macOS with MacPorts:
- Thanks to Cody Boone Ferguson for this information!
- Thanks to [Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) for this information!
First, make sure you have the compiler tools installed e.g. by: