Last change
on this file since 503c350 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:
752 bytes
|
Line | |
---|
1 | all: gui-proto-pthread gui-proto-fibre gui-proto-cforall |
---|
2 | |
---|
3 | PRECIOUS: thrdlib/libthrd-pthread.so thrdlib/libthrd-fibre.so thrdlib/libthrd-cforall.so |
---|
4 | |
---|
5 | CXXFLAGS = -fpic -g -O0 -I. |
---|
6 | |
---|
7 | thrdlib/libthrd-%.so: |
---|
8 | +${MAKE} -C thrdlib libthrd-$*.so |
---|
9 | |
---|
10 | gui-proto-%: proto-gui/main.o thrdlib/libthrd-%.so Makefile |
---|
11 | $(CXX) -Lthrdlib -Wl,--rpath,thrdlib -pthread -o $@ $< -lthrd-$* |
---|
12 | |
---|
13 | CFAINC=${HOME}/local/include/cfa-dev |
---|
14 | CFALIB=${HOME}/local/lib/cfa-dev/x64-debug |
---|
15 | CFAFLAGS=-z execstack -ftls-model=initial-exec -L${CFALIB} -Wl,-rpath,${CFALIB} |
---|
16 | |
---|
17 | gui-proto-cforall: proto-gui/main.o thrdlib/libthrd-cforall.so Makefile |
---|
18 | $(CXX) -Lthrdlib -Wl,--rpath,thrdlib ${CFAFLAGS} -pthread -o $@ $< -lthrd-cforall -Wl,--push-state,--no-as-needed -lcfathread -lcfa -ldl -lm -Wl,--pop-state |
---|
Note: See
TracBrowser
for help on using the repository browser.