Permalink
Browse files

Make JAVA_HOME and JAVA_HEADERS overridable on OSX too.

  • Loading branch information...
1 parent 96b6173 commit 89e703ab8d8aa7cef8c9947fbdf1f9f5b520822b @kaushiks kaushiks committed Feb 1, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 Makefile
View
@@ -2,9 +2,9 @@ CC=gcc
OS=$(shell uname -s | tr '[A-Z]' '[a-z]')
ifeq ("$(OS)", "darwin")
-JAVA_HOME=$(shell /usr/libexec/java_home)
-JAVA_HEADERS=/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers
-#JAVA_HEADERS=/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Headers/
+JAVA_HOME?=$(shell /usr/libexec/java_home)
+JAVA_HEADERS?=/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers
+#JAVA_HEADERS?=/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Headers/
PLATFORM_LDFLAGS=-mimpure-text
endif

0 comments on commit 89e703a

Please sign in to comment.