targets.h (777B)
1// targets.h 2 3#include <stdbool.h> 4 5#ifndef _LCC_TARGETS_H 6#define _LCC_TARGETS_H 7 8// For Linker list defaults (llist0) 9typedef struct arg_entry { 10 char searchkey[255]; 11 char addflag[255]; 12 char addvalue[255]; 13 bool found; 14} arg_entry; 15 16// For Port/Platform specific settings 17typedef struct CLASS { 18 const char *port; 19 const char *plat; 20 const char *default_plat; 21 const char *rom_extension; 22 const char *cpp; 23 const char *include; 24 const char *com; 25 const char *as; 26 const char *bankpack; 27 const char *ld; 28 const char *ihxcheck; 29 const char *mkbin; 30 const char *postproc; 31 arg_entry *llist0_defaults; 32 int llist0_defaults_len; 33} CLASS; 34 35 36extern CLASS classes[]; 37extern int classes_count; 38 39#endif // _TARGETS_H