source: doc/theses/thierry_delisle_PhD/code/readQ_example/thrdlib/Makefile @ 1f922f4

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
RevLine 
[72b1800]1all: fibre.so libthrd-pthread.so.so cforall.so
[29185fc]2
3clean:
[72b1800]4        rm -rf fibre.so libthrd-pthread.so.so cforall.so
[29185fc]5
[4e39f51]6CXXFLAGS=-Wall -Wextra -O3 -g -fpic -std=c++17 -pthread -ftls-model=initial-exec
7
[72b1800]8libthrd-pthread.so: thread.cpp thread.hpp Makefile
9        $(CXX) $(CXXFLAGS) -shared -o $@ $< -DWITH_PTHREADS
[29185fc]10
[72b1800]11libthrd-fibre.so: thread.cpp thread.hpp Makefile
12        $(CXX) $(CXXFLAGS) -shared -o $@ $< -DWITH_LIBFIBRE -lfibre
[4e39f51]13
14CFAINC=${HOME}/local/include/cfa-dev
15CFALIB=${HOME}/local/lib/cfa-dev/x64-debug
16CFAFLAGS=-z execstack -I${CFAINC} -I${CFAINC}/concurrency -L${CFALIB} -Wl,-rpath,${CFALIB}
17
[72b1800]18libthrd-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.