mirror of
https://github.com/pnx/m16vm
synced 2026-06-16 03:44:55 +02:00
Makefile: fixing CFLAGS variable + remove "-g" flag and all "M16_DEBUG" flags as default values.
This commit is contained in:
parent
0d257be91f
commit
60fec921c6
1 changed files with 4 additions and 3 deletions
7
Makefile
7
Makefile
|
|
@ -16,9 +16,10 @@
|
||||||
# * M16_DEBUG_INSTR
|
# * M16_DEBUG_INSTR
|
||||||
# Outputs the instructions executed in a human-readable format.
|
# Outputs the instructions executed in a human-readable format.
|
||||||
#
|
#
|
||||||
CC = gcc
|
# Example: make EXT_CFLAGS="-DM16_DEBUG_INSTR -DM16_DEBUG_MEM"
|
||||||
CFLAGS = -g -Ilib/include -DMEM_SIZE=32 -DM16_DEBUG_MEM
|
CC = gcc
|
||||||
LD = $(CC)
|
CFLAGS = -Ilib/include $(EXT_CFLAGS)
|
||||||
|
LD = $(CC)
|
||||||
|
|
||||||
ifndef VERBOSE
|
ifndef VERBOSE
|
||||||
QUIET_CC = @echo " CC" $@;
|
QUIET_CC = @echo " CC" $@;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue