Skip to content

Commit

Permalink
minor makefile.mac cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
gewang committed Jan 1, 2025
1 parent 0e83241 commit 5db0f4d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/core/makefile.x/makefile.mac
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@ CFLAGS+= -D__MACOSX_CORE__ $(FORCE_M32) $(ISYSROOT)
CFLAGSDEPEND+= -D__MACOSX_CORE__ $(FORCE_M32) $(ISYSROOT)

FRAMEWORKS+= CoreAudio CoreMIDI CoreFoundation IOKit Carbon AppKit Foundation
# linker assumes CXX -- e.g., g++
LDFLAGS+= $(FORCE_M32) $(ISYSROOT) $(addprefix -framework ,$(FRAMEWORKS)) \
$(LINK_EXTRAS) -lc++ -lm
$(LINK_EXTRAS) -lm
# if linking using CC -- e.g., gcc -- add -lc++
# LDFLAGS+= -lc++

SF_CSRCS+= util_sndfile.c


# this is to link properly on leopard...
MACOSX_DEPLOYMENT_TARGET=10.9
export MACOSX_DEPLOYMENT_TARGET
Expand All @@ -47,7 +49,6 @@ export MACOSX_DEPLOYMENT_TARGET
# by default, ChucK uses a pre-configured libsndfile...
# uncomment the next 3 lines to use libsndfile on your system
#-----------------------------------------------------------------------------
#FLAGS+= -D__CK_SNDFILE_NATIVE__
#LIBS+= -lsndfile
#SF_OBJ=

# FLAGS+= -D__CK_SNDFILE_NATIVE__
# LIBS+= -lsndfile
# SF_OBJ=

0 comments on commit 5db0f4d

Please sign in to comment.