-
Notifications
You must be signed in to change notification settings - Fork 19
/
Makefile.coco
77 lines (56 loc) · 1.98 KB
/
Makefile.coco
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# Makefile for Building CoCo Config with CMOC
CC=cmoc
AS=lwasm
CP=cp
ECHO=echo
FIRMWARE_DIR="../fujinet-firmware"
config.bin: check_wifi.o connect_wifi.o destination_host_slot.o hosts_and_devices.o main.o perform_copy.o select_file.o select_slot.o set_wifi.o show_info.o bar.o die.o input.o io.o mount_and_boot.o screen.o strrchr.o pause.o
$(CC) -o config.bin check_wifi.o connect_wifi.o destination_host_slot.o hosts_and_devices.o main.o perform_copy.o select_file.o select_slot.o set_wifi.o show_info.o bar.o die.o input.o io.o mount_and_boot.o screen.o strrchr.o pause.o
$(RM) autorun.dsk
decb dskini autorun.dsk
decb copy -t -0 dist.coco/autoexec.bas autorun.dsk,AUTOEXEC.BAS
writecocofile autorun.dsk config.bin
$(CP) autorun.dsk $(FIRMWARE_DIR)/data/webui/device_specific/BUILD_COCO/
# $(CP) autorun.dsk ~/tnfs/
$(ECHO) Now, Do a Upload Filesystem task.
pause.o: src/coco/pause.c
$(CC) -c src/coco/pause.c
strrchr.o: src/coco/strrchr.c
$(CC) -c src/coco/strrchr.c
check_wifi.o: src/check_wifi.c
$(CC) -c src/check_wifi.c
connect_wifi.o: src/connect_wifi.c
$(CC) -c src/connect_wifi.c
destination_host_slot.o: src/destination_host_slot.c
$(CC) -c src/destination_host_slot.c
hosts_and_devices.o: src/hosts_and_devices.c
$(CC) -c src/hosts_and_devices.c
main.o: src/main.c
$(CC) -c src/main.c
perform_copy.o: src/perform_copy.c
$(CC) -c src/perform_copy.c
select_file.o: src/select_file.c
$(CC) -c src/select_file.c
select_slot.o: src/select_slot.c
$(CC) -c src/select_slot.c
set_wifi.o: src/set_wifi.c
$(CC) -c src/set_wifi.c
show_info.o: src/show_info.c
$(CC) -c src/show_info.c
bar.o: src/coco/bar.c
$(CC) -c src/coco/bar.c
die.o: src/coco/die.c
$(CC) -c src/coco/die.c
input.o: src/coco/input.c
$(CC) -c src/coco/input.c
io.o: src/coco/io.c
$(CC) -c src/coco/io.c
mount_and_boot.o: src/coco/mount_and_boot.c
$(CC) -c src/coco/mount_and_boot.c
screen.o: src/coco/screen.c
$(CC) -c src/coco/screen.c
clean:
$(RM) *.o
$(RM) coco/*.o
$(RM) config.bin
$(RM) autorun.dsk