libchise.la: $(OBJS)
$(LIBTOOL) --mode=link \
$(CC) -o libchise.la $(OBJS) $(LIBS) \
- -rpath ${libdir} -version-info $(ABI_VERSION)
+ -rpath ${libdir} -version-info $(ABI_VERSION) \
+ -no-undefined
chise.lo: chise.c chise.h config.h sysdep.h
- $(LIBTOOL) $(CC) $(CHISE_CFLAGS) $(CFLAGS) chise.c
+ $(LIBTOOL) --mode=compile $(CC) $(CHISE_CFLAGS) $(CFLAGS) chise.c
install: install.h install.libs
install -c $(HEADERS) $(INCLUDE_INSTALLDIR)
install.libs: libchise.la
- $(LIBTOOL) install -c libchise.la $(LIB_INSTALLDIR)
+ $(LIBTOOL) --mode=install install -c libchise.la $(LIB_INSTALLDIR)
sample: sample.c libchise.la