view test/resolve_self/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 2536413edfd8
line wrap: on
line source

APP = resolve_self
OBJS = main.o

TOP      = ../..
CFLAGS  += -I${TOP}/dynload
LDFLAGS += -L${TOP}/dynload
LDLIBS  += -ldynload_s

all: ${APP}

.PHONY: all clean install

${APP}: ${OBJS} 
	${CC} ${OBJS} ${LDFLAGS} ${LDLIBS} -o ${APP} 

clean:
	rm -f ${APP} ${OBJS}