diff options
| -rw-r--r-- | Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
| @@ -23,8 +23,6 @@ LUA_CMODULE_DIR ?= $(PREFIX)/lib/lua/$(LUA_VERSION) | |||
| 23 | LUA_MODULE_DIR ?= $(PREFIX)/share/lua/$(LUA_VERSION) | 23 | LUA_MODULE_DIR ?= $(PREFIX)/share/lua/$(LUA_VERSION) |
| 24 | LUA_BIN_DIR ?= $(PREFIX)/bin | 24 | LUA_BIN_DIR ?= $(PREFIX)/bin |
| 25 | 25 | ||
| 26 | AR= $(CC) -o | ||
| 27 | |||
| 28 | ##### Platform overrides ##### | 26 | ##### Platform overrides ##### |
| 29 | ## | 27 | ## |
| 30 | ## Tweak one of the platform sections below to suit your situation. | 28 | ## Tweak one of the platform sections below to suit your situation. |
| @@ -99,7 +97,7 @@ all: $(TARGET) | |||
| 99 | doc: manual.html performance.html | 97 | doc: manual.html performance.html |
| 100 | 98 | ||
| 101 | $(TARGET): $(OBJS) | 99 | $(TARGET): $(OBJS) |
| 102 | $(AR) $@ $(LDFLAGS) $(CJSON_LDFLAGS) $(OBJS) | 100 | $(CC) -o $@ $(LDFLAGS) $(CJSON_LDFLAGS) $(OBJS) |
| 103 | 101 | ||
| 104 | install: $(TARGET) | 102 | install: $(TARGET) |
| 105 | mkdir -p $(DESTDIR)$(LUA_CMODULE_DIR) | 103 | mkdir -p $(DESTDIR)$(LUA_CMODULE_DIR) |
