From f0984ed912b0343dd353a35de6d01768e021b217 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 19 Jun 2015 08:49:26 +0200 Subject: lua: add symlink for the lates built module This makes it convenient to test it --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3