source:
doc/theses/thierry_delisle_PhD/code/readyQ_proto/Makefile
@
9b817e15
Last change on this file since 9b817e15 was f9f3775, checked in by , 4 years ago | |
---|---|
|
|
File size: 749 bytes |
Line | |
---|---|
1 | |
2 | |
3 | CXXFLAGS = -O3 -g -Wall -Wextra -std=c++17 |
4 | LDFLAGS = -pthread -latomic |
5 | |
6 | push: |
7 | clang++ relaxed_list.cpp -g -Wall -Wextra -std=c++17 -fsyntax-only && rsync -av relaxed_list.cpp relaxed_list.hpp utils.hpp assert.hpp scale.sh plg7b:~/workspace/sched/. |
8 | |
9 | relaxed_list: $(firstword $(MAKEFILE_LIST)) | build |
10 | clang++ relaxed_list.cpp $(CXXFLAGS) $(LDFLAGS) -lpng -MMD -MF build/$(@).d -o $(@) |
11 | |
12 | -include build/relaxed_list.d |
13 | |
14 | layout.ast: $(firstword $(MAKEFILE_LIST)) | build |
15 | clang++ relaxed_list_layout.cpp $(CXXFLAGS) -MMD -MF build/$(@).d -MT $(@) -E -o build/$(@).ii |
16 | clang++ -Xclang -fdump-record-layouts -fsyntax-only $(CXXFLAGS) build/$(@).ii > build/layout.ast.raw |
17 | cat build/$(@).raw > $(@) |
18 | |
19 | -include build/layout.ast.d |
20 | |
21 | build: |
22 | mkdir -p build |
Note: See TracBrowser
for help on using the repository browser.