source: doc/theses/thierry_delisle_PhD/code/readQ_example/thrdlib/Makefile @ 29185fc

arm-ehjacob/cs343-translationnew-ast-unique-expr
Last change on this file since 29185fc was 29185fc, checked in by Thierry Delisle <tdelisle@…>, 16 months ago

Working towards allowing different thread frameworks to be picked from the command line

  • Property mode set to 100644
File size: 262 bytes
Line 
1all: fibre.so pthread.so
2
3clean:
4        rm -rf fibre.so pthread.so
5
6pthread.so: pthread.cpp Makefile
7        $(CXX) -Wall -Wextra -O3 -g -shared -o ${@} -pthread -fpic ${<}
8
9fibre.so: fibre.cpp Makefile
10        $(CXX) -Wall -Wextra -O3 -g -shared -o ${@} -pthread -fpic ${<} -lfibre
Note: See TracBrowser for help on using the repository browser.