-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
60 lines (42 loc) · 1.38 KB
/
Makefile
File metadata and controls
60 lines (42 loc) · 1.38 KB
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
58
59
60
MAKE=make --no-print-dir
all: help
help:
@echo "available targets:"
# TODO
# @echo "buildtests build test programs"
@echo "petcat test 'petcat'"
@echo "c1541 test 'c1541'"
@echo "cartconv test 'cartconv'"
@echo "vice-autostart autostart tests"
@echo "vice-monitor test ml-monitor"
@echo "vice-remotemonitor test remote monitor protocol"
@echo "vice all vice- tests"
@echo "testbench run the emulation testbench"
@echo "runtests do all of the above"
@echo ""
@echo "If you want to run individual (emulation-) tests, use the"
@echo "testbench.sh script in the testbench directory."
.PHONY: buildtests
# TODO
buildtests:
@echo "FIXME: implement build target that builds all target tests"
.PHONY: petcat c1541 cartconv
petcat:
@$(MAKE) -C petcat clean all clean
c1541:
@$(MAKE) -C c1541 clean test clean
cartconv:
@$(MAKE) -C cartconv
.PHONY: vice-autostart vice-monitor vice-remotemonitor
vice: vice-autostart vice-monitor vice-remotemonitor
vice-autostart:
@$(MAKE) -C ./testbench/autostart test
vice-monitor:
@$(MAKE) -C Monitor
vice-remotemonitor:
cd ./remotemonitor/binmontest && make test
.PHONY: testbench
testbench: buildtests
@$(MAKE) -C testbench testall
.PHONY: runtests
runtests: petcat c1541 cartconv vice testbench