diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
| @@ -2,8 +2,10 @@ LUA_VERSION = 5.1 | |||
| 2 | 2 | ||
| 3 | ## Available defines for CJSON_CFLAGS | 3 | ## Available defines for CJSON_CFLAGS |
| 4 | # | 4 | # |
| 5 | # USE_INTERNAL_ISINF: Workaround for Solaris platforms missing isinf(). | 5 | # USE_INTERNAL_ISINF: Workaround for Solaris platforms missing isinf(). |
| 6 | # DISABLE_CJSON_GLOBAL: Do not store module is "cjson" global | 6 | # DISABLE_CJSON_GLOBAL: Do not store module is "cjson" global. |
| 7 | # DISABLE_INVALID_NUMBERS: Permanently disable invalid JSON numbers: | ||
| 8 | # - NaN, Infinity, hex. | ||
| 7 | 9 | ||
| 8 | ## Build defaults | 10 | ## Build defaults |
| 9 | TARGET = cjson.so | 11 | TARGET = cjson.so |
| @@ -38,7 +40,7 @@ INSTALL_CMD = install | |||
| 38 | ## Windows (MinGW) | 40 | ## Windows (MinGW) |
| 39 | #TARGET = cjson.dll | 41 | #TARGET = cjson.dll |
| 40 | #PREFIX = /home/user/opt | 42 | #PREFIX = /home/user/opt |
| 41 | #CJSON_CFLAGS = | 43 | #CJSON_CFLAGS = -DDISABLE_INVALID_NUMBERS |
| 42 | #CJSON_LDFLAGS = -shared -L$(PREFIX)/lib -llua51 | 44 | #CJSON_LDFLAGS = -shared -L$(PREFIX)/lib -llua51 |
| 43 | 45 | ||
| 44 | ## End platform specific section | 46 | ## End platform specific section |
