mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-11 08:44:55 +08:00
31 lines
538 B
Makefile
31 lines
538 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
include ../../config.inc
|
|
|
|
PGM=${ARCH}/init01.exe
|
|
|
|
# optional managers required
|
|
MANAGERS=all
|
|
|
|
# C source names
|
|
C_FILES = init.c test_main.c
|
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
|
|
|
AM_CPPFLAGS += -I $(INSTALL_BASE)/include
|
|
LINK_LIBS += $(INSTALL_BASE)/libbsdc.a
|
|
LINK_LIBS += $(INSTALL_BASE)/libbsd.a ${REL_ARGS}
|
|
|
|
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)
|