view dynload/Makefile.generic @ 645:6a8aac9b2bcf

- removal of `autovar` macro detection lib: * was a good idea, but never fully pushed through, so code was duplicating most of dyncall_macros.h * didn't find any outside use and plans to make it a standalone lib never materialized * so basically removing code to avoid code duplication that risks to never stay in sync
author Tassilo Philipp
date Mon, 05 Feb 2024 16:43:59 +0100
parents 3e629dc19168
children
line wrap: on
line source

LIBNAME = dynload
OBJS 	= dynload.o dynload_syms.o
HEADERS = ${VPATH}/dynload.h 

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