source: doc/theses/thierry_delisle_PhD/code/readyQ_proto/Makefile @ 562ccf9

Last change on this file since 562ccf9 was f9f3775, checked in by Thierry Delisle <tdelisle@…>, 4 years ago

Moved phd code for the readQ prototype to it's own folder

  • Property mode set to 100644
File size: 749 bytes
Line 
1
2
3CXXFLAGS = -O3 -g -Wall -Wextra -std=c++17
4LDFLAGS = -pthread -latomic
5
6push:
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
9relaxed_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
14layout.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
21build:
22        mkdir -p build
Note: See TracBrowser for help on using the repository browser.