Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/thierry_delisle_PhD/code/readQ_example/thrdlib/Makefile

    r72b1800 r4e39f51  
    1 all: fibre.so libthrd-pthread.so.so cforall.so
     1all: fibre.so pthread.so cforall.so
    22
    33clean:
    4         rm -rf fibre.so libthrd-pthread.so.so cforall.so
     4        rm -rf fibre.so pthread.so
    55
    66CXXFLAGS=-Wall -Wextra -O3 -g -fpic -std=c++17 -pthread -ftls-model=initial-exec
    77
    8 libthrd-pthread.so: thread.cpp thread.hpp Makefile
    9         $(CXX) $(CXXFLAGS) -shared -o $@ $< -DWITH_PTHREADS
     8pthread.so: pthread.cpp Makefile
     9        $(CXX) $(CXXFLAGS) -shared -o ${@} ${<}
    1010
    11 libthrd-fibre.so: thread.cpp thread.hpp Makefile
    12         $(CXX) $(CXXFLAGS) -shared -o $@ $< -DWITH_LIBFIBRE -lfibre
     11fibre.so: fibre.cpp Makefile
     12        $(CXX) $(CXXFLAGS) -shared -o ${@} ${<} -lfibre
    1313
    1414CFAINC=${HOME}/local/include/cfa-dev
     
    1616CFAFLAGS=-z execstack -I${CFAINC} -I${CFAINC}/concurrency -L${CFALIB} -Wl,-rpath,${CFALIB}
    1717
    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
     18cforall.so: cforall.cpp Makefile
     19        $(CXX) $(CXXFLAGS) $(CFAFLAGS) -shared -o ${@} ${<} -lcfathread -lcfa -ldl -lm
Note: See TracChangeset for help on using the changeset viewer.