-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
35 lines (30 loc) · 1.18 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
# it's alive
ASM=nasm -f bin
SOFTWARE=software
BOOTLOADER=bootloader
BUILD=build
all:
$(ASM) $(SOFTWARE)/init.asm -o init.bin
$(ASM) $(SOFTWARE)/login.asm -o login.bin
$(ASM) $(SOFTWARE)/shell.asm -o shell.bin
$(ASM) $(SOFTWARE)/help.asm -o help.bin
$(ASM) $(SOFTWARE)/uptime.asm -o uptime.bin
$(ASM) $(SOFTWARE)/moko.asm -o moko.bin
$(ASM) $(SOFTWARE)/ps.asm -o ps.bin
$(ASM) $(SOFTWARE)/date.asm -o date.bin
$(ASM) $(SOFTWARE)/ls.asm -o ls.bin
$(ASM) $(SOFTWARE)/args.asm -o args.bin
$(ASM) $(SOFTWARE)/touch.asm -o touch.bin
$(ASM) $(SOFTWARE)/free.asm -o free.bin
$(ASM) $(SOFTWARE)/conf.asm -o conf.bin
$(ASM) $(SOFTWARE)/ascii.asm -o ascii.bin
$(ASM) $(SOFTWARE)/colors.asm -o colors.bin
$(ASM) $(SOFTWARE)/msg.asm -o msg.bin
$(ASM) $(SOFTWARE)/test.asm -o test.bin
$(ASM) $(SOFTWARE)/menu.asm -o menu.bin
$(ASM) kernel.asm -o kernel.bin
$(ASM) $(BUILD)/kfs.asm -o $(BUILD)/kfs.raw
$(ASM) $(BOOTLOADER)/stage2.asm -o stage2.bin
$(ASM) $(BOOTLOADER)/stage1.asm -o $(BUILD)/disk.raw
clean:
rm -f init.bin login.bin shell.bin help.bin uptime.bin moko.bin ps.bin date.bin ls.bin stage2.bin args.bin touch.bin free.bin conf.bin ascii.bin colors.bin msg.bin test.bin menu.bin