mirror of
https://github.com/pnx/m16vm
synced 2026-06-18 04:00:02 +02:00
Makefile: adding some comments.
This commit is contained in:
parent
5bf70ad664
commit
dbd32efbc5
1 changed files with 15 additions and 1 deletions
16
Makefile
16
Makefile
|
|
@ -1,4 +1,18 @@
|
||||||
|
# ---------------------------------------------------------------------------
|
||||||
|
# m16 Makefile.
|
||||||
|
# ---------------------------------------------------------------------------
|
||||||
|
#
|
||||||
|
# The following debug flags exists:
|
||||||
|
#
|
||||||
|
# * MEM_SIZE=<value>
|
||||||
|
# Defines the memory size of the virtual machine (in bytes)
|
||||||
|
#
|
||||||
|
# * M16_DEBUG_MEM
|
||||||
|
# Prints memory after program execution
|
||||||
|
#
|
||||||
|
# * M16_DEBUG_INSTR
|
||||||
|
# Outputs the instructions executed in a human-readable format.
|
||||||
|
#
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CFLAGS = -Iinclude -DMEM_SIZE=32 -DM16_DEBUG_MEM
|
CFLAGS = -Iinclude -DMEM_SIZE=32 -DM16_DEBUG_MEM
|
||||||
LD = $(CC)
|
LD = $(CC)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue