aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 60e7351..81fde5d 100644
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,7 @@ sircbot-send: sircbot-send.o
$(CC) $(LDFLAGS) -o $@ $^
lua/$(LUA_VERSION)/sircbot.so: lua/$(LUA_VERSION)/lsircbot.o
+ ln -sf $@ sircbot.so
$(CC) -shared $(LDFLAGS) -o $@ $^ $(LUA_LIBS)
.c.o:
@@ -42,7 +43,7 @@ lua/$(LUA_VERSION)/%.o: lua/%.c
$(CC) -fPIC $(CFLAGS) $(LUA_CFLAGS) -o $@ -c $^
clean:
- rm -f *.o $(TARGETS)
+ rm -f *.o $(TARGETS) sircbot.so
install: $(TARGETS)
$(INSTALL) -d $(DESTDIR)$(bindir)