Debian Codegraph @

tests/ui-export/Makefile

raw
1 CXX ?= c++
2 CXXFLAGS ?= -std=c++17 -I../../architecture
3
4 GEN = gen_ui
5 SRC = generate_ui.cpp
6 SVG_ALL = layoutui-simple.svg layoutui-medium.svg layoutui-vertical.svg layoutui-horizontal.svg layoutui-tabs.svg layoutui-complex.svg
7 HTML_ALL = layoutui-simple.html layoutui-medium.html layoutui-vertical.html layoutui-horizontal.html layoutui-tabs.html layoutui-complex.html
8
9 .PHONY: all svg check clean svg-simple svg-medium svg-complex
10
11 all: $(GEN)
12
13 $(GEN): $(SRC) \
14 ../../architecture/faust/gui/SVGExport.h \
15 ../../architecture/faust/gui/HTMLExport.h \
16 ../../architecture/faust/gui/MetaDataUI.h \
17 ../../architecture/faust/gui/LayoutUI.h
18 $(CXX) $(CXXFLAGS) $(SRC) -o $(GEN)
19
20 svg: $(GEN)
21 ./$(GEN)
22
23 check: svg
24 python3 check_svg.py
25 python3 check_html.py
26
27 clean:
28 rm -f $(GEN) $(SVG_ALL) $(HTML_ALL)