summaryrefslogtreecommitdiffstats
path: root/minislang/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'minislang/Makefile')
-rw-r--r--minislang/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/minislang/Makefile b/minislang/Makefile
index 13b3d1dff..c74e58326 100644
--- a/minislang/Makefile
+++ b/minislang/Makefile
@@ -1,7 +1,7 @@
include ../Makefile.inc
OBJS = sldisply.o slerr.o slgetkey.o slmisc.o slsignal.o slsmg.o \
- sltermin.o slutty.o
+ sltermin.o slutty.o slkanji.o
CFLAGS = -fPIC -O2
@@ -13,7 +13,7 @@ endif
everything: $(TARGET)
-all: libslang.so
+all: libslang.so libslang.a($(OBJS))
libslang.so: $(OBJS)
gcc -o $@ -shared -Wl,-soname,libslang.so.1 $(OBJS)
@@ -23,6 +23,7 @@ clean:
install: libslang.so
install -s libslang.so $(DESTDIR)/$(RUNTIMEDIR)/libslang.so.1
+ ln -s libslang.so.1 $(DESTDIR)/$(RUNTIMEDIR)/libslang-j.so.1
depend:
$(CPP) -M $(CFLAGS) *.c > .depend