Fixes compile error: make: *** No rule to make target 'check_list_local.h', needed by 'smatch.o'. Stop. Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx> --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 7fc69162..dc37ae2f 100644 --- a/Makefile +++ b/Makefile @@ -257,6 +257,9 @@ SMATCH_LDFLAGS := -lsqlite3 -lssl -lcrypto smatch: smatch.o $(SMATCH_FILES) $(SMATCH_CHECKS) $(LIBS) $(QUIET_LINK)$(LD) -o $@ $< $(SMATCH_FILES) $(SMATCH_CHECKS) $(LIBS) $(SMATCH_LDFLAGS) +check_list_local.h: + touch check_list_local.h + smatch.o: smatch.c $(LIB_H) smatch.h check_list.h check_list_local.h $(CC) $(CFLAGS) -c smatch.c -DSMATCHDATADIR='"$(SMATCHDATADIR)"' -- 2.17.1