aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorMark Pulford <mark@kyne.com.au>2011-12-08 20:57:12 +1030
committerMark Pulford <mark@kyne.com.au>2011-12-08 20:57:12 +1030
commitbd994cd7976ac93c530792e3c0d6f45a33c757b4 (patch)
tree6e5a4dd5d1b01e71d66f3cfe3d8e8c39d1410480 /README
parentbea23facc1644cffa53ecc84fa236806e9c94dfd (diff)
downloadlua-cjson-bd994cd7976ac93c530792e3c0d6f45a33c757b4.tar.gz
lua-cjson-bd994cd7976ac93c530792e3c0d6f45a33c757b4.tar.bz2
lua-cjson-bd994cd7976ac93c530792e3c0d6f45a33c757b4.zip
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).
Diffstat (limited to 'README')
-rw-r--r--README10
1 files changed, 5 insertions, 5 deletions
diff --git a/README b/README
index 4907359..36c9a64 100644
--- a/README
+++ b/README
@@ -37,19 +37,19 @@ Or:
37- LuaJIT (http://www.luajit.org/) 37- LuaJIT (http://www.luajit.org/)
38 38
39There are 3 build methods available: 39There are 3 build methods available:
40- Gmake: POSIX, OSX 40- Make: POSIX, OSX
41- RPM: Various Linux distributions 41- RPM: Various Linux distributions
42- LuaRocks (http://www.luarocks.org/): POSIX, OSX, Windows 42- LuaRocks (http://www.luarocks.org/): POSIX, OSX, Windows
43 43
44 44
45Gmake 45Make
46----- 46----
47 47
48Review and update the included Makefile to suit your platform. Next, 48Review and update the included Makefile to suit your platform. Next,
49build and install the module: 49build and install the module:
50 50
51 # gmake 51 # make
52 # gmake install 52 # make install
53 OR 53 OR
54 # cp cjson.so [your_module_directory] 54 # cp cjson.so [your_module_directory]
55 55