2019-05-15 20:06:45 +02:00
|
|
|
# The OS/K Team licenses this file to you under the MIT license.
|
|
|
|
# See the LICENSE file in the project root for more information.
|
2019-05-15 19:26:40 +02:00
|
|
|
|
2019-05-19 19:54:29 +02:00
|
|
|
all: kas
|
2019-05-15 21:47:08 +02:00
|
|
|
|
2019-05-16 20:09:20 +02:00
|
|
|
kpc:
|
|
|
|
@cd pc && make --no-print-directory
|
2019-05-16 19:49:51 +02:00
|
|
|
|
2019-05-29 22:59:17 +02:00
|
|
|
kas: kpc as/k-as.py as/regs.lst
|
2019-05-29 16:57:22 +02:00
|
|
|
@cp pc/instrs/instrs.lst as
|
|
|
|
@rm -f pc/instrs/instrs.lst
|
2019-05-15 19:26:40 +02:00
|
|
|
|
2019-05-29 22:59:17 +02:00
|
|
|
asm: os/dos.k
|
|
|
|
@cd os && ../as/k-as.py dos.k 0x100000 a.out
|
2019-05-15 19:26:40 +02:00
|
|
|
|
2019-05-29 22:59:17 +02:00
|
|
|
test: kas asm
|
2019-05-30 11:32:00 +02:00
|
|
|
@pc/k.exe os/a.out > os/stdout.txt
|
2019-05-29 22:59:17 +02:00
|
|
|
|
|
|
|
disasm: kas asm
|
|
|
|
@pc/k.exe os/a.out -d
|