1
0
mirror of https://gitlab.os-k.eu/os-k-team/kvisc.git synced 2023-08-25 14:05:46 +02:00
kvisc/Makefile
2019-05-30 12:19:38 +02:00

23 lines
483 B
Makefile

# The OS/K Team licenses this file to you under the MIT license.
# See the LICENSE file in the project root for more information.
all: kas
kpc:
@cd pc && make --no-print-directory
@mv pc/k.exe out/k.exe
kas: kpc as/k-as.py as/regs.lst
@cp pc/instrs/instrs.lst as
@rm -f pc/instrs/instrs.lst
asm: dos/dos.k dos/print.k
@as/k-as.py dos/dos.k 0x100000 out/a.out
test: kas asm
@out/k.exe out/a.out > out/stdout.txt
disasm: kas asm
@out/k.exe os/a.out -d
@mv fwprog.dis out