aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c5966c5..915ed39 100644
--- a/Makefile
+++ b/Makefile
@@ -23,8 +23,6 @@ LUA_CMODULE_DIR ?= $(PREFIX)/lib/lua/$(LUA_VERSION)
23LUA_MODULE_DIR ?= $(PREFIX)/share/lua/$(LUA_VERSION) 23LUA_MODULE_DIR ?= $(PREFIX)/share/lua/$(LUA_VERSION)
24LUA_BIN_DIR ?= $(PREFIX)/bin 24LUA_BIN_DIR ?= $(PREFIX)/bin
25 25
26AR= $(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)
99doc: manual.html performance.html 97doc: 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
104install: $(TARGET) 102install: $(TARGET)
105 mkdir -p $(DESTDIR)$(LUA_CMODULE_DIR) 103 mkdir -p $(DESTDIR)$(LUA_CMODULE_DIR)