Last change
on this file since 1f922f4 was
72b1800,
checked in by Thierry Delisle <tdelisle@…>, 4 years ago
|
Some previous in progress work.
Commited only so it stops showing in my git status.
|
-
Property mode set to
100644
|
File size:
765 bytes
|
Rev | Line | |
---|
[72b1800] | 1 | all: fibre.so libthrd-pthread.so.so cforall.so |
---|
[29185fc] | 2 | |
---|
| 3 | clean: |
---|
[72b1800] | 4 | rm -rf fibre.so libthrd-pthread.so.so cforall.so |
---|
[29185fc] | 5 | |
---|
[4e39f51] | 6 | CXXFLAGS=-Wall -Wextra -O3 -g -fpic -std=c++17 -pthread -ftls-model=initial-exec |
---|
| 7 | |
---|
[72b1800] | 8 | libthrd-pthread.so: thread.cpp thread.hpp Makefile |
---|
| 9 | $(CXX) $(CXXFLAGS) -shared -o $@ $< -DWITH_PTHREADS |
---|
[29185fc] | 10 | |
---|
[72b1800] | 11 | libthrd-fibre.so: thread.cpp thread.hpp Makefile |
---|
| 12 | $(CXX) $(CXXFLAGS) -shared -o $@ $< -DWITH_LIBFIBRE -lfibre |
---|
[4e39f51] | 13 | |
---|
| 14 | CFAINC=${HOME}/local/include/cfa-dev |
---|
| 15 | CFALIB=${HOME}/local/lib/cfa-dev/x64-debug |
---|
| 16 | CFAFLAGS=-z execstack -I${CFAINC} -I${CFAINC}/concurrency -L${CFALIB} -Wl,-rpath,${CFALIB} |
---|
| 17 | |
---|
[72b1800] | 18 | libthrd-cforall.so: thread.cpp thread.hpp Makefile |
---|
| 19 | $(CXX) $(CXXFLAGS) $(CFAFLAGS) -shared -o $@ $< -DWITH_CFORALL -Wl,--push-state,--no-as-needed -lcfathread -lcfa -ldl -lm -Wl,--pop-state |
---|
Note: See
TracBrowser
for help on using the repository browser.