diff options
author | Mark Pulford <mark@kyne.com.au> | 2011-12-08 20:57:12 +1030 |
---|---|---|
committer | Mark Pulford <mark@kyne.com.au> | 2011-12-08 20:57:12 +1030 |
commit | bd994cd7976ac93c530792e3c0d6f45a33c757b4 (patch) | |
tree | 6e5a4dd5d1b01e71d66f3cfe3d8e8c39d1410480 /README | |
parent | bea23facc1644cffa53ecc84fa236806e9c94dfd (diff) | |
download | lua-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-- | README | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -37,19 +37,19 @@ Or: | |||
37 | - LuaJIT (http://www.luajit.org/) | 37 | - LuaJIT (http://www.luajit.org/) |
38 | 38 | ||
39 | There are 3 build methods available: | 39 | There 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 | ||
45 | Gmake | 45 | Make |
46 | ----- | 46 | ---- |
47 | 47 | ||
48 | Review and update the included Makefile to suit your platform. Next, | 48 | Review and update the included Makefile to suit your platform. Next, |
49 | build and install the module: | 49 | build 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 | ||