From 4fb46426af4a0ba345aedc7daeaf659308ef6a83 Mon Sep 17 00:00:00 2001 From: Kray-G Date: Mon, 28 Oct 2019 18:59:13 +0900 Subject: [PATCH] fixed #19: supported libkcc of .dll and .so. --- Makefile.msc | 11 ++++------- README.md | 2 -- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/Makefile.msc b/Makefile.msc index c7c6c77..b66a2bb 100644 --- a/Makefile.msc +++ b/Makefile.msc @@ -112,9 +112,6 @@ onig_s.lib: cd ../../../../ copy /y src\_extdll\lib\onig\onig_s.lib . -sample_dll.dll: sample_dll.obj - $(CC) /nologo /LD /MT /Iinclude sample_dll.c - clean: del /S *.exe *.obj *.dll *.lib > NUL del *.exp > NUL @@ -125,11 +122,11 @@ clean: $(NAME)ext.dll: $(EXTOBJ) $(CC) /Fe$(NAME)ext.dll /LD $(EXTOBJ) onig_s.lib -$(NAME).exe: $(NAME)lib.dll - $(CC) $(CFLAGS) /Fe$(NAME).exe $(MAINOBJ:.obj=.c) $(NAME)lib.lib +$(NAME).exe: lib$(NAME).dll + $(CC) $(CFLAGS) /Fe$(NAME).exe $(MAINOBJ:.obj=.c) lib$(NAME).lib -$(NAME)lib.dll: $(OBJS) - $(CC) /LD /Fe$(NAME)lib.dll $(OBJS) +lib$(NAME).dll: $(OBJS) + $(CC) /LD /Felib$(NAME).dll $(OBJS) $(NAME)bltin.dll: $(BUILTIN) $(CC) $(CFLAGS) /LD /Fe$(NAME)bltin.dll $(BUILTIN:.obj=.c) src\kccutil.obj src/util/string.obj diff --git a/README.md b/README.md index 837a854..d468185 100644 --- a/README.md +++ b/README.md @@ -290,7 +290,6 @@ fib I have a plan to do the followings when I have a time. * [ ] Providing all of Standard C Library. -* [ ] Adding a library of SQLite3. * [ ] Adding a library of XML Parser. * [ ] Adding a library of JSON Parser. * [ ] Adding a library with libCurl. @@ -298,7 +297,6 @@ I have a plan to do the followings when I have a time. * [ ] Supporting jump table for switch-case. * [ ] One instruction for increment and decrement. * [ ] Combining VM instructions to improve the performance. -* [ ] Building libkcc to use it as a shared library. ## License