// gb.h

#ifndef _LCC_GB_H
#define _LCC_GB_H

#define SUFX_NOMATCH -1

#define EXT_C    ".c"
#define EXT_H    ".h"
#define EXT_I    ".i"
#define EXT_ASM  ".asm"
#define EXT_S    ".s"
#define EXT_O    ".o"
#define EXT_OBJ  ".obj"
#define EXT_IHX  ".ihx"
#define EXT_LK   ".lk"
#define EXT_ROM  ".rom"
#define EXT_LST  ".lst"
#define EXT_SYM  ".sym"
#define EXT_ADB  ".adb"

// ROM file extensions
#define EXT_GB     ".gb"
#define EXT_AP     ".pocket"
#define EXT_DUCK   ".duck"
#define EXT_SMS    ".sms"
#define EXT_GG     ".gg"
#define EXT_MSXDOS ".com"
#define EXT_NES    ".nes"

#define ARRAY_LEN(A) (sizeof(A) / sizeof(A[0]))

#endif // _LCC_GB_H



