mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-01-22 01:30:35 -05:00
firmware: add build rules for RegGen-generated headers
Change-Id: I86ff1a39aec1ee428abd6464483ae3732fdf9196
This commit is contained in:
parent
a8d792c248
commit
44afcc8cbe
4 changed files with 35 additions and 0 deletions
|
|
@ -41,6 +41,10 @@ $(TOOLSDIR)/convttf: $(TOOLSDIR)/convttf.c
|
|||
$(SILENT)$(HOSTCC) $(TOOLSFLAGS) -lm -O2 -Wall -g $+ -o $@ \
|
||||
`pkg-config --cflags --libs freetype2`
|
||||
|
||||
$(TOOLSDIR)/reggen: $(wildcard $(TOOLSDIR)/reggen_src/*.c)
|
||||
$(call PRINTS,CC $(@F))
|
||||
$(SILENT)$(HOSTCC) $(TOOLSFLAGS) -Wall -Wextra -O2 -g -o $@ $+
|
||||
|
||||
# implicit rule for simple tools
|
||||
$(TOOLSDIR)/%: $(TOOLSDIR)/%.c
|
||||
$(call PRINTS,CC $(subst $(ROOTDIR)/,,$@))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue