summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 00f9e48..5f2c9d2 100644
--- a/Makefile
+++ b/Makefile
@@ -92,10 +92,7 @@ modules: $(MODULES_LIST)
dep: $(ALL_DEPS)
-luagmp.a: $(addsuffix .o, $(notdir $(basename $(GMP_SOURCES))))
- $(AR) $@ $+
-
-luagmp.$(SHARED_EXT): luagmp.a
+luagmp.$(SHARED_EXT): $(addsuffix .o, $(notdir $(basename $(GMP_SOURCES))))
$(LD) $(LDFLAGS) -o $@ $+ $(GMP_LIBS)
clean: