-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.in
58 lines (37 loc) · 1.06 KB
/
Makefile.in
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
clean_makefiles = \
src/Makefile \
examples/Makefile \
test/Makefile \
Makefile
.PHONY: $(DEF_GENDLOPEN) all clean distclean check
all: $(DEF_GENDLOPEN)
clean-examples:
cd examples && $(MAKE) clean
clean-test:
cd test && $(MAKE) clean $(devnull_v)
clean-src:
cd src && $(MAKE) clean
clean: clean-examples clean-test clean-src
$(_v)-rm -f settings.mk test.c test.h test.cpp test.o test.obj
distclean-test:
cd test && $(MAKE) distclean $(devnull_v)
distclean: clean distclean-test
$(_v)-rm -f $(clean_makefiles) test.log
$(_v)-cd msvc && rm -f *.exe *.obj template.h
$(DEF_GENDLOPEN):
cd src && $(MAKE)
check: all-tests all-examples
all-tests: $(GENDLOPEN)
cd test && $(MAKE) all
all-examples: $(GENDLOPEN)
cd examples && $(MAKE)
run-check: run-tests run-examples
run-tests:
cd test && $(MAKE) run-tests
run-examples:
cd examples && $(MAKE) run-examples
@W32@run-check-wine: run-tests-wine run-examples-wine
@W32@run-tests-wine: test
@W32@ cd test && $(MAKE) run-tests-wine
@W32@run-examples-wine: examples
@W32@ cd examples && $(MAKE) run-examples-wine