-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·46 lines (40 loc) · 1.11 KB
/
Makefile
File metadata and controls
executable file
·46 lines (40 loc) · 1.11 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
DOS = \
dos/dos.asm \
dos/cmd.asm \
dos/cmd_dir.asm \
dos/cmd_lsf.asm \
dos/cmd_read.asm \
dos/cmd_write.asm \
dos/cmd_dump.asm \
dos/cmd_rename.asm \
dos/cmd_delete.asm \
dos/cmd_mkfs.asm \
dos/cmd_mkdir.asm \
dos/cmd_rmdir.asm \
dos/cmd_keys.asm \
dos/cmd_wifi.asm \
dos/cmd_external.asm \
dos/cmd_copy.asm \
dos/cmd_help.asm \
dos/strings.asm \
dos/display.asm \
dos/readline.asm \
dos/reader.asm \
kernel/api.asm \
kernel/keys.asm
COPT = -C -Wall -Werror -Wno-shadow -x --verbose-list -I .
dos_jr.bin: $(DOS)
64tass $(COPT) $(DOS) -b -L $(basename $@).lst -o $@ -D DATE_STR=\"$(shell date +\"%d-%b-%y\")\"
dd if=$@ of=kernel/dos.bin ibs=8192 obs=8192 skip=0 count=1
bundle: refresh dos_jr.bin
# This is target isn't expected to work on your machine.
refresh:
cp $(KERNEL)/kernel/api.asm kernel/api.asm
cp $(KERNEL)/3b.bin kernel
cp $(KERNEL)/3c.bin kernel
cp $(KERNEL)/3d.bin kernel
cp $(KERNEL)/3e.bin kernel
cp $(KERNEL)/3f.bin kernel
cp $(KERNEL)/kernel.ram kernel
cp $(KERNEL)/hardware/keys.asm kernel
cp $(KERNEL)/docs/README.md kernel