Skip to content

Commit

Permalink
Mac OS specific compile/link changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hotbso committed Dec 21, 2018
1 parent d0d0136 commit e2e2dc2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions Makefile.mac64
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ HEADERS=$(wildcard *.h)
SOURCES=$(wildcard *.c)
OBJECTS=$(SOURCES:.c=.o)

OSXC=-arch x86_64 -mmacosx-version-min=10.7
OSXL=-arch x86_64 -mmacosx-version-min=10.7
OSXC=-arch x86_64 -mmacosx-version-min=10.9
OSXL=-arch x86_64 -mmacosx-version-min=10.9

DEFS= -DAPL=1 -DXPLM200 -fPIC -fno-stack-protector -fvisibility=hidden -ffast-math -DNDEBUG

Expand All @@ -21,10 +21,9 @@ all: $(TARGET)

.c.o:
$(CC) $(CFLAGS) -c $<

$(TARGET): $(OBJECTS)
$(CC) -o $(TARGET) $(LNFLAGS) $(OBJECTS) $(LIBS)

clean:
rm -f $(OBJECTS) $(TARGET)

2 changes: 1 addition & 1 deletion linkscript.mac
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ _XPluginStart
_XPluginEnable
_XPluginReceiveMessage
_XPluginDisable
_XPluginStop
_XPluginStop

0 comments on commit e2e2dc2

Please sign in to comment.