projects
/
simavr
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reprap: Compatibility with OSX
[simavr]
/
examples
/
shared
/
libc3
/
Makefile
diff --git
a/examples/shared/libc3/Makefile
b/examples/shared/libc3/Makefile
index
25ab1db
..
7f4320f
100644
(file)
--- a/
examples/shared/libc3/Makefile
+++ b/
examples/shared/libc3/Makefile
@@
-14,9
+14,15
@@
C3OBJ = ${patsubst src/%,${OBJ}/%,${C3SRC:.c=.lo}}
CC = clang
PKGCONFIG = pkg-config
CC = clang
PKGCONFIG = pkg-config
-LIBTOOL = libtool
INSTALL = install
INSTALL = install
+ifeq (${shell uname}, Darwin)
+# you need to install libtool via 'brew install libtool' on the mac
+LIBTOOL = glibtool
+else
+LIBTOOL = libtool
+endif
+
CFLAGS = -g -O2
CPPFLAGS += --std=gnu99 -fPIC
CPPFLAGS += ${patsubst %,-I%,${subst :, ,${IPATH}}}
CFLAGS = -g -O2
CPPFLAGS += --std=gnu99 -fPIC
CPPFLAGS += ${patsubst %,-I%,${subst :, ,${IPATH}}}