Depend on joy.h.
This commit is contained in:
parent
62ed15d17a
commit
bd525cc7ac
|
|
@ -15,11 +15,15 @@ GPERF_OPTS = --readonly-tables --enum --includes --hash-function-name=keyword_ha
|
|||
|
||||
joy: ${OBJS} $(STATIC_GCLIB)
|
||||
|
||||
joy.o: joy.h
|
||||
|
||||
|
||||
# Gperf doesn't add anything to '{""}' unused entries in the wordlist.
|
||||
# This causes "warning: missing field 'func' initializer [-Wmissing-field-initializers]"
|
||||
# which is promoted to an error and holds up the show.
|
||||
# But we can turn off that warning for the keyword code like so:
|
||||
keywords.o: CFLAGS+=-Wno-missing-field-initializers
|
||||
keywords.o: joy.h
|
||||
|
||||
keywords.c: KEYWORDS.txt
|
||||
gperf --output-file=$@ $(GPERF_OPTS) $<
|
||||
|
|
|
|||
Loading…
Reference in New Issue