-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
36 lines (31 loc) · 1.5 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
.PHONY: doc docs
all:
@cd WasatchVCPPLib && $(MAKE) $@
@cd demo-linux && $(MAKE) $@
new: clean all
clean:
@cd WasatchVCPPLib && $(MAKE) $@
@cd demo-linux && $(MAKE) $@
@rm -rf doxygen* \
WasatchVCPPLib/.vs \
WasatchVCPPLib/packages \
WasatchVCPPLib/{Setup32,Setup64}/{Debug,Release} \
WasatchVCPPLib/{x64,Win32} \
WasatchVCPPLib/{Debug,Release} \
WasatchVCPPLib/WasatchVCPPLib/{x64,Win32} \
WasatchVCPPLib/WasatchVCPPLib/{Debug,Release} \
WasatchVCPPLib/WasatchVCPPDemo/{x64,Win32} \
WasatchVCPPLib/WasatchVCPPDemo/{Debug,Release} \
WasatchVCPPNet/{obj,bin} \
bin/*.{exe,dll} \
lib/{x86,x64}/*.{lib,dll} \
lib/*.{a,so}
doc docs:
@(cat Doxyfile ; echo "PROJECT_NUMBER = $$VERSION") | doxygen - 1>doxygen.out 2>doxygen.err
# called by scripts/deploy to compare wp_foo() declarations in C vs C# APIs
check_headers:
@TMPFILE="make-check-headers" ; \
egrep -o 'wp_[a-z0-9_]+' include/WasatchVCPP.h | sort -u > $$TMPFILE.h ; \
egrep -o 'wp_[a-z0-9_]+' WasatchVCPPNet/WasatchVCPP.cs | sort -u > $$TMPFILE.cs ; \
diff $$TMPFILE.h $$TMPFILE.cs | egrep '^[<>]' | sort -u ; \
rm -f $$TMPFILE.*