view dyncallback/Makefile.embedded @ 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 3e629dc19168
children
line wrap: on
line source

TARGET	= libdyncallback_s.a
OBJS	= dyncall_alloc_wx.o dyncall_args.o dyncall_callback.o dyncall_callback_arch.o dyncall_thunk.o
CFLAGS += -I../dyncall
HEADERS = dyncall_callback.h dyncall_args.h
all: ${TARGET}
${TARGET}: ${OBJS}
	${AR} ${ARFLAGS} $@ ${OBJS}
clean:
	rm -f ${OBJS} ${TARGET}
install: all
	mkdir -p ${DESTDIR}${PREFIX}/include
	cp ${HEADERS} ${DESTDIR}${PREFIX}/include
	mkdir -p ${DESTDIR}${PREFIX}/lib
	cp ${TARGET} ${DESTDIR}${PREFIX}/lib
.PHONY: all clean install