diff options
Diffstat (limited to 'led/complex1/Makefile')
-rw-r--r-- | led/complex1/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/led/complex1/Makefile b/led/complex1/Makefile new file mode 100644 index 0000000..110e52b --- /dev/null +++ b/led/complex1/Makefile @@ -0,0 +1,33 @@ +# +# $Id$ +# + +# +# RTEMS_MAKEFILE_PATH is typically set in an environment variable +# + +PGM=${ARCH}/complex1.exe + +# optional managers required +MANAGERS=all + +# C source names +CSRCS = periodic.c +COBJS = $(CSRCS:%.c=${ARCH}/%.o) + +# C++ source names +CXXSRCS = main.cc menu.cc test.cc +CXXOBJS_ = $(CXXSRCS:.cc=.o) +CXXOBJS = $(CXXOBJS_:%=${ARCH}/%) + +include $(RTEMS_MAKEFILE_PATH)/Makefile.inc +LINK.c=$(CXX) +include $(RTEMS_CUSTOM) +include $(PROJECT_ROOT)/make/leaf.cfg + +OBJS= $(COBJS) $(CXXOBJS) $(ASOBJS) + +all: ${ARCH} $(PGM) + +$(PGM): $(OBJS) + $(make-exe) |