view test/suite/Makefile.embedded @ 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   = ../..
BLDTOP   = ../..
CFLAGS  += -I${SRCTOP}/dyncall
LDFLAGS += -L${BLDTOP}/dyncall
LDLIBS  += -ldyncall_s 

.PHONY: all clean autogen
all: ${APP}
${APP}: ${OBJS} 
	${CC} ${OBJS} ${LDFLAGS} ${LDLIBS} -o ${APP}
clean:
	rm -f ${APP} ${OBJS}
autogen:
	python mkcase.py >case.h 2>config.h