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

@@ -47,7 +47,11 @@ DAMAGE.
#include "rad50.h"
#include "object.h"
int rt11 = 0;
#ifndef DEFAULT_OBJECTFORMAT_RT11
#define DEFAULT_OBJECTFORMAT_RT11 0
#endif
int rt11 = DEFAULT_OBJECTFORMAT_RT11;
/*
writerec writes "formatted binary records."