Mercurial > pub > dyncall > dyncall
view test/sharedlib/Makefile.embedded @ 302:d55f9d508074
- mips softfloat support for o32 callconv (calls and callbacks, little and big endian)
- cleanup of some mips files, removed unnecessary file, renamings..
- doc/manual cleanups, changelog entry
author | Tassilo Philipp |
---|---|
date | Mon, 21 May 2018 02:48:12 +0200 |
parents | 3e629dc19168 |
children |
line wrap: on
line source
MAKEFILE = Makefile.embedded MAKE_CMD = ${MAKE} -f ${MAKEFILE} TARGET = libsharedlib.so OBJS = sharedlib.o CPPFLAGS += -I../../dynload LDFLAGS += -L../../dynload LDLIBS += -ldynload_s ${TARGET}: ${OBJS} ${CC} -shared -o $@ $? ${LDFLAGS} ${LDLIBS} all: ${TARGET} clean: rm -f ${TARGET} ${OBJS} sun-gcc: CC=gcc CFLAGS="${CFLAGS} -fPIC" ${MAKE_CMD} all