Validate headers

This commit is contained in:
Kamil Trzcinski
2022-04-08 23:09:24 +02:00
parent d1b57fa37b
commit e7c68cb60e
4 changed files with 13 additions and 4 deletions

View File

@ -29,6 +29,9 @@ install: $(TARGET)
clean:
rm -f .depend $(OBJS) $(OBJS:.o=.d) $(HTML_SRC) $(TARGET)
headers:
find -name '*.h' | xargs -n1 gcc $(CFLAGS) -Wno-error -c -o /dev/null
-include $(OBJS:.o=.d)
%.o: %.c