1
0
Fork 0
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:
Henrik Hautakoski 2019-01-04 22:01:16 +01:00
parent 0d257be91f
commit 60fec921c6
No known key found for this signature in database
GPG key ID: 839F3A7EAFAEAFAA

View file

@ -16,9 +16,10 @@
# * M16_DEBUG_INSTR
# Outputs the instructions executed in a human-readable format.
#
CC = gcc
CFLAGS = -g -Ilib/include -DMEM_SIZE=32 -DM16_DEBUG_MEM
LD = $(CC)
# Example: make EXT_CFLAGS="-DM16_DEBUG_INSTR -DM16_DEBUG_MEM"
CC = gcc
CFLAGS = -Ilib/include $(EXT_CFLAGS)
LD = $(CC)
ifndef VERBOSE
QUIET_CC = @echo " CC" $@;