forked from Imagelibrary/rtems
* pppd/example/Makefile: Removed. * pppd/example/Makefile-user: Added was Makefile. Renamed to avoid bootstrap -c clobbering it.
46 lines
696 B
Plaintext
46 lines
696 B
Plaintext
#
|
|
# Makefile
|
|
#
|
|
|
|
#
|
|
# RTEMS_MAKEFILE_PATH is typically set in an environment variable
|
|
#
|
|
|
|
EXEC=ppptest.exe
|
|
PGM=${ARCH}/$(EXEC)
|
|
|
|
# optional managers required
|
|
MANAGERS=io event semaphore
|
|
|
|
# C source names
|
|
CSRCS = init.c pppdapp.c
|
|
|
|
COBJS_ = $(CSRCS:.c=.o)
|
|
COBJS = $(COBJS_:%=${ARCH}/%)
|
|
|
|
# C++ source names
|
|
CXXSRCS =
|
|
CXXOBJS_ = $(CXXSRCS:.cc=.o)
|
|
CXXOBJS = $(CXXOBJS_:%=${ARCH}/%)
|
|
|
|
# AS source names
|
|
ASSRCS =
|
|
ASOBJS_ = $(ASSRCS:.s=.o)
|
|
ASOBJS = $(ASOBJS_:%=${ARCH}/%)
|
|
|
|
# Libraries
|
|
LIBS = -lrtemsall -lc
|
|
|
|
include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
|
|
|
|
include $(RTEMS_CUSTOM)
|
|
include $(PROJECT_ROOT)/make/leaf.cfg
|
|
|
|
OBJS= $(COBJS) $(CXXOBJS) $(ASOBJS)
|
|
|
|
all: ${ARCH} $(PGM)
|
|
|
|
$(PGM): $(OBJS)
|
|
$(make-exe)
|
|
|