diff options
Diffstat (limited to 'posix_api/psx_example_2/Makefile')
-rw-r--r-- | posix_api/psx_example_2/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/posix_api/psx_example_2/Makefile b/posix_api/psx_example_2/Makefile new file mode 100644 index 0000000..689b1e1 --- /dev/null +++ b/posix_api/psx_example_2/Makefile @@ -0,0 +1,29 @@ +# +# Makefile +# + +# +# RTEMS_MAKEFILE_PATH is typically set in an environment variable +# + +PGM=${ARCH}/psx_example_2.exe + +# optional managers required +MANAGERS=all + +# C source names +CSRCS = test2.c +COBJS_ = $(CSRCS:.c=.o) +COBJS = $(COBJS_:%=${ARCH}/%) + +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) + |