aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-06-19 08:49:26 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-06-19 08:49:26 +0200
commitf0984ed912b0343dd353a35de6d01768e021b217 (patch)
treed359dd4b9d34b5aaef86f0d9e25b13258dfcc31d /Makefile
parent5cb96310ee500240c2e200139b06dfbf8fd1c105 (diff)
downloadsircbot-f0984ed912b0343dd353a35de6d01768e021b217.tar.bz2
sircbot-f0984ed912b0343dd353a35de6d01768e021b217.tar.xz
lua: add symlink for the lates built module
This makes it convenient to test it
Diffstat (limited to 'Makefile')
-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)