Skip to content
Snippets Groups Projects
Commit 64d65ed5 authored by deuce's avatar deuce
Browse files

Define __unix__ for OS/X

parent aaa6667b
No related branches found
No related tags found
No related merge requests found
......@@ -57,6 +57,7 @@ LD := gcc
#
CFLAGS += -O2 -g -L. -I../xpdev
ifeq ($(OS),Darwin)
CFLAGS += -D__unix__
LDFLAGS += $(CFLAGS) -dynamiclib -single_module
else
LDFLAGS += $(CFLAGS) -shared
......@@ -177,7 +178,7 @@ ex_ski: ex_ski.c ${LIBDIR}libODoors${SHLIB}
$(CC) $(CFLAGS) ex_ski.c -o ex_ski -lODoors
ex_vote: ex_vote.c ${LIBDIR}libODoors${SHLIB}
$(CC) $(CFLAGS) ex_vote.c -o ex_vote ../xpdev/filewrap.c -lODoors -DMULTINODE_AWARE
$(CC) $(CFLAGS) ex_vote.c ../xpdev/filewrap.c -o ex_vote -lODoors -DMULTINODE_AWARE
#
#------------------------------------------------------------------------------
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment