diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -17,7 +17,9 @@ $(NAME): $(NAME).c $(BOARD_FILES) board/boards.h board/boards.h: printf "#ifndef BOARD_DEFAULTS_H\n#define BOARD_DEFAULTS_H\n\n" > board/boards.h for board in $(BOARDS); do echo "#include \"$$board/board.h\"" >> board/boards.h; done - printf "\n#endif /* BOARD_DEFAULTS_H */" >> board/boards.h + printf "\n#define BOARDS " >> board/boards.h + for board in $(BOARDS); do printf "BOARD(\"$$board\", board_$${board}_board_down_wav) " >> board/boards.h; done + printf "\n\n#endif /* BOARD_DEFAULTS_H */" >> board/boards.h $(BOARD_FILES): %.h: %_down.wav xxd -i "$<" "$@" |