Mercurial > pub > dyncall > dyncall
view dyncallback/Makefile.generic @ 152:d48a8b8d2ef9
- integrated all headers containing DCCallback definition into the translation units used (arm64 already avoided this pointless header, so following that style)
- some cleanups, removal of unnecessary includes, etc.
author | cslag |
---|---|
date | Sat, 22 Oct 2016 15:55:54 +0200 |
parents | 170cde9e2a83 |
children | 6eec7c270aea |
line wrap: on
line source
LIBNAME = dyncallback OBJS = dyncall_alloc_wx.o dyncall_args.o dyncall_callback.o dyncall_callback_arch.o dyncall_thunk.o HEADERS = ${VPATH}/dyncall_thunk.h ${VPATH}/dyncall_thunk_x86.h ${VPATH}/dyncall_thunk_ppc32.h ${VPATH}/dyncall_thunk_x64.h ${VPATH}/dyncall_thunk_arm32.h ${VPATH}/dyncall_thunk_arm64.h ${VPATH}/dyncall_args.h ${VPATH}/dyncall_callback.h TOP = ${VPATH}/.. CFLAGS += -I${TOP}/dyncall LIB = lib${LIBNAME}_s.a .PHONY: all clean install all: ${LIB} ${LIB}: ${OBJS} ${AR} ${ARFLAGS} ${LIB} ${OBJS} clean: rm -f ${OBJS} ${LIB} install: all mkdir -p ${PREFIX}/lib mkdir -p ${PREFIX}/include cp ${LIB} ${PREFIX}/lib cp ${HEADERS} ${PREFIX}/include