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-16 21:42:23 +02:00
|
|
|
# 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 19:00:13 +02:00
|
|
|
kas: kpc as/k-as.py as/regs.lst as/testfile.k
|
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-22 18:39:46 +02:00
|
|
|
test: kas
|
2019-05-29 19:00:13 +02:00
|
|
|
@cd as && ./k-as.py testfile.k 0x100000 testfile.out
|
|
|
|
@pc/k.exe as/testfile.out
|
2019-05-15 19:26:40 +02:00
|
|
|
|
2019-05-29 16:57:22 +02:00
|
|
|
disasm: kas
|
2019-05-29 19:00:13 +02:00
|
|
|
@cd as && ./k-as.py testfile.k 0x100000 testfile.out
|
|
|
|
@pc/k.exe as/testfile.out -d
|