diff options
author | Marvin Borner | 2024-01-17 01:25:18 +0100 |
---|---|---|
committer | Marvin Borner | 2024-01-17 01:25:18 +0100 |
commit | e790db8d6e39a6911606d21561a451701b8b3e29 (patch) | |
tree | e1fb07202e2e5980bad6c56551d20e1c6735cec8 /src/target.c | |
parent | b754e71ca502a5027ea3479eb3ea1a0ac28e5282 (diff) |
Start shared abstraction target
Diffstat (limited to 'src/target.c')
-rw-r--r-- | src/target.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/target.c b/src/target.c index 7a96f1e..cc26fd2 100644 --- a/src/target.c +++ b/src/target.c @@ -8,10 +8,14 @@ extern struct target_spec target_unblc; extern struct target_spec target_unbblc; +extern struct target_spec target_blc; +extern struct target_spec target_bblc; static struct target_spec *targets[] = { &target_unblc, &target_unbblc, + &target_blc, + &target_bblc, }; void exec_target(char *name, struct bloc_parsed *bloc, FILE *file) @@ -26,7 +30,7 @@ void exec_target(char *name, struct bloc_parsed *bloc, FILE *file) printf("available targets:\n"); for (int i = 0; i < count; i++) - printf(" %s\n", targets[i]->name); + printf("\t%s\n", targets[i]->name); fatal("unknown target %s\n", name); } |