overworked doxygen
This commit is contained in:
parent
0abac59291
commit
e63c508172
62 changed files with 3851 additions and 870 deletions
25
docs/examples/Makefile
Normal file
25
docs/examples/Makefile
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
SRCDIR = ../../src
|
||||
|
||||
EXAMPLES = $(wildcard *.cpp)
|
||||
|
||||
all:
|
||||
@echo "check"
|
||||
@echo "create"
|
||||
|
||||
clean:
|
||||
rm -f $(EXAMPLES:.cpp=) $(EXAMPLES:.cpp=.output) $(EXAMPLES:.cpp=.test)
|
||||
|
||||
%.output: %.cpp
|
||||
make $(<:.cpp=) CPPFLAGS="-I $(SRCDIR)" CXXFLAGS="-std=c++11"
|
||||
./$(<:.cpp=) > $@
|
||||
rm $(<:.cpp=)
|
||||
|
||||
%.test: %.cpp
|
||||
make $(<:.cpp=) CPPFLAGS="-I $(SRCDIR)" CXXFLAGS="-std=c++11"
|
||||
./$(<:.cpp=) > $@
|
||||
diff $@ $(<:.cpp=.output)
|
||||
rm $(<:.cpp=) $@
|
||||
|
||||
create: $(EXAMPLES:.cpp=.output)
|
||||
|
||||
check: $(EXAMPLES:.cpp=.test)
|
||||
Loading…
Add table
Add a link
Reference in a new issue