#
# /emx/src/lib/mbyte/makefile
#
.INCLUDE: /emx/src/lib/libc.mak

local: ;

mbcurmax.o: mbcurmax.c $(I)stdlib.h
mblen.o: mblen.c $(I)stdlib.h $(E)
mbstowcs.o: mbstowcs.c $(I)stdlib.h $(E) $(I)limits.h
mbtowc.o: mbtowc.c $(I)stdlib.h $(E)
mbyte.o: mbyte.c $(E)
wcstombs.o: wcstombs.c $(I)stdlib.h $(E)
wctomb.o: wctomb.c $(I)stdlib.h $(E) $(I)limits.h
_mbtowc.o: _mbtowc.c $(E)
_wctomb.o: _wctomb.c $(E)

$(DSTLIB): mbcurmax.o mblen.o mbstowcs.o mbtowc.o mbyte.o \
    wcstombs.o wctomb.o _mbtowc.o _wctomb.o
	-$(AR) d $(DSTLIB) __.SYMDEF
	$(AR) r $(DSTLIB) *.o
	$(AR) s $(DSTLIB)
