allow to set the config file from a define

warning the quotes must be escaped :
gcc -DMUSASHI_CNF=\"myconf.h\" ...
This commit is contained in:
Emmanuel Anne 2019-11-06 18:36:18 +01:00
parent 5a93a6d326
commit f3c3022454

5
m68k.h
View file

@ -48,8 +48,11 @@ extern "C" {
/* ======================================================================== */
/* Import the configuration for this build */
#ifdef MUSASHI_CNF
#include MUSASHI_CNF
#else
#include "m68kconf.h"
#endif
/* ======================================================================== */
/* ============================ GENERAL DEFINES =========================== */