From b39aeba7ced78ac1dd1e99333b69e275e9f5f99a Mon Sep 17 00:00:00 2001 From: ksherlock Date: Mon, 14 Mar 2011 23:16:23 +0000 Subject: [PATCH] git-svn-id: https://profuse.googlecode.com/svn/branches/v2@391 aa027e90-d47c-11dd-86d7-074df07e0730 --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cc7ebc7..3bb6ef1 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,12 @@ ifdef HAVE_NUFX DEVICE_OBJECTS += Device/SDKImage.o EXCEPTION_OBJECTS += NuFX/Exception.o LDFLAGS += -L/usr/local/lib/ - LIBS += -lnufx -lz -framework carbon + LIBS += -lnufx -lz + + ifeq ($(UNAME),Darwin) + LIBS += -framework carbon + endif + CPPFLAGS += -DHAVE_NUFX=1 endif