Mercurial > pub > dyncall > dyncall
view test/suite/Makefile.generic @ 386:2c2b51819aad
- newer and portable beos/haiku uses elf.h instead of elf32.h (maybe older builds only used elf32.h in raw source? either way, just using elf.h now)
author | Tassilo Philipp |
---|---|
date | Thu, 21 Jan 2021 17:15:35 +0100 |
parents | 3e629dc19168 |
children |
line wrap: on
line source
APP = suite OBJS = case.o main.o SRCTOP = ${VPATH}/../.. BLDTOP = ../.. CFLAGS += -I${SRCTOP}/dyncall LDLIBS += -L${BLDTOP}/dyncall -ldyncall_s .PHONY: all clean install all: ${APP} ${APP}: ${OBJS} ${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o ${APP} clean: rm -f ${APP} ${OBJS} install: mkdir -p ${PREFIX}/test cp ${APP} ${PREFIX}/test