diff options
author | Marçal Comajoan Cara <mcomajoancara@gmail.com> | 2018-12-09 15:16:30 +0100 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2018-12-09 16:46:14 -0600 |
commit | ee11ed7f8d16902deb8dce9c351569c082d5cdfe (patch) | |
tree | 33d08ea6880cf034becbac809cac7c6b2e9ae3e8 /posix_api/livermore/pthread/Makefile | |
parent | 276a025727c59daaed5dd7aaa1c2e352f74f93cd (diff) |
Add some Livermore pthread examples (GCI 2013/2018)
The initial conversion was done by Christopher Kerl as part of GCI 2013.
Finally merged as part of GCI 2018.
This is part of the Livermore pthread examples from
https://computing.llnl.gov/tutorials/pthreads/
Closes #2087.
Diffstat (limited to 'posix_api/livermore/pthread/Makefile')
-rw-r--r-- | posix_api/livermore/pthread/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/posix_api/livermore/pthread/Makefile b/posix_api/livermore/pthread/Makefile new file mode 100644 index 0000000..fdd13dc --- /dev/null +++ b/posix_api/livermore/pthread/Makefile @@ -0,0 +1,23 @@ +# +# RTEMS_MAKEFILE_PATH is typically set in an environment variable +# + +PGM=${ARCH}/pthread.exe + +# optional managers required +MANAGERS=all + +# C source names +CSRCS = init.c +COBJS = $(CSRCS:%.c=${ARCH}/%.o) + +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)
\ No newline at end of file |