mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-12 11:23:45 +08:00

This helps when tracking down how many undefined symbols there are and where they were defined.
32 lines
536 B
Plaintext
32 lines
536 B
Plaintext
#
|
|
# $Id$
|
|
#
|
|
|
|
include ../../config.inc
|
|
|
|
PGM=${ARCH}/link01_r.exe
|
|
|
|
# optional managers required
|
|
MANAGERS=all
|
|
|
|
# C source names
|
|
C_FILES = test.c
|
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
|
|
|
AM_CPPFLAGS += -I $(INSTALL_BASE)/include
|
|
LINK_LIBS += $(INSTALL_BASE)/libbsd.a -Wl,-r
|
|
|
|
include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
|
|
include $(RTEMS_CUSTOM)
|
|
include $(PROJECT_ROOT)/make/leaf.cfg
|
|
|
|
OBJS= $(C_O_FILES)
|
|
CLEAN_ADDITIONS += undefined.txt
|
|
|
|
all: ${ARCH} $(PGM)
|
|
|
|
$(PGM): $(OBJS)
|
|
$(make-exe)
|
|
|
|
# @test `cat undefined.txt | wc -l` -ne 0 && exit 1
|