Make default object file format choosable from Makefile.

This commit is contained in:
Olaf Seibert
2020-03-11 21:16:08 +01:00
parent 1508da6f48
commit 1958fa1fad
4 changed files with 16 additions and 5 deletions

View File

@@ -4,7 +4,8 @@
#
WARNS ?= -Wall -Wshadow -Wextra -pedantic -Woverflow -Wstrict-overflow
CFLAGS ?= -O -ggdb -std=gnu99 $(WARNS)
OBJFORMAT = -DDEFAULT_OBJECTFORMAT_RT11=0
CFLAGS ?= -O -ggdb -std=gnu99 $(WARNS) $(OBJFORMAT)
MACRO11_SRCS = macro11.c \
assemble.c assemble_globals.c assemble_aux.c \