Commit 97da5849 authored by deuce's avatar deuce
Browse files

Add shared lib target.

parent a760c119
......@@ -50,3 +50,11 @@ endif
@echo Creating $@ ...
$(QUIET)$(AR) rc $@ $(OBJS)
$(QUIET)$(RANLIB) $@
ifdef STATIC
$(CIOLIB-MT_SHLIB_BUILD): $(MTOBJODIR)$(DIRSEP)console$(OFILE).static $(MTOBJODIR) $(OBJS)
else
$(CIOLIB-MT_SHLIB_BUILD): $(MTOBJODIR)$(DIRSEP)console$(OFILE).dynamic $(MTOBJODIR) $(OBJS)
endif
@echo Creating $@
$(QUIET)$(MKSHLIB) $(LDFLAGS) $(OBJS) $(SHLIBOPTS) -o $@
# conio/targets.mk
CIOLIB-MT_BUILD = $(LIBODIR)$(DIRSEP)$(LIBPREFIX)ciolib_mt$(LIBFILE)
CIOLIB-MT_SHLIB_BUILD = $(LIBODIR)$(DIRSEP)$(LIBPREFIX)ciolib_mt$(SOFILE)
mtlib: $(MTOBJODIR) $(LIBODIR) $(CIOLIB-MT_BUILD)
dl-mtlib: $(MTOBJODIR) $(LIBODIR) $(CIOLIB-MT_SHLIB_BUILD)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment