view test/nm/Makefile.embedded @ 525:cc607f753178

- callback_suite_aggrs: added some cases that failed and/or are still failing to design.txt, as they showcase more subtle things like structs right on the reg-stack split, alignment issues, etc.
author Tassilo Philipp
date Wed, 13 Apr 2022 15:55:50 +0200
parents 3e629dc19168
children
line wrap: on
line source

APP = nm
OBJS = nm.o

TOP = ../..
CFLAGS  += -I${TOP}/dynload
LDFLAGS += -L${TOP}/dynload
LDLIBS  += -ldynload_s
# Works on: Darwin, NetBSD.
# Linux: add '-ldl'

all: ${APP}

.PHONY: all clean

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

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