From bd994cd7976ac93c530792e3c0d6f45a33c757b4 Mon Sep 17 00:00:00 2001 From: Mark Pulford Date: Thu, 8 Dec 2011 20:57:12 +1030 Subject: Fix Makefile for use with non-GNU make - Remove GNU make "override" statements. - Add OBJS variable since there is no portable way to specify all targets for linking. Also: - Put build defaults at the top to avoid potential confusion. - Don't assume a Linux platform. Default to USE_POSIX_SETLOCALE. - Change "install -d" to mkdir/install since the former isn't available on some platforms (Solaris). --- README | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'README') diff --git a/README b/README index 4907359..36c9a64 100644 --- a/README +++ b/README @@ -37,19 +37,19 @@ Or: - LuaJIT (http://www.luajit.org/) There are 3 build methods available: -- Gmake: POSIX, OSX +- Make: POSIX, OSX - RPM: Various Linux distributions - LuaRocks (http://www.luarocks.org/): POSIX, OSX, Windows -Gmake ------ +Make +---- Review and update the included Makefile to suit your platform. Next, build and install the module: - # gmake - # gmake install + # make + # make install OR # cp cjson.so [your_module_directory] -- cgit v1.2.3-55-g6feb