Commit a2646117 authored by Matthias Braun's avatar Matthias Braun
Browse files

use cparser-beta for additional syntax/warning checks if available

parent 47fd481d
......@@ -160,8 +160,12 @@ $(libfirm_dll): $(libfirm_OBJECTS)
# Generic rules
UNUSED := $(shell mkdir -p $(libfirm_DIRS:%=$(builddir)/%))
# Determine if we can use cparser-beta for quickcheck
QUICKCHECK ?= $(shell which cparser-beta || echo true) -fsyntax-only
$(builddir)/%.o: %.c $(IR_SPEC_GENERATED_FILES) config.h
@echo CC $@
$(Q)$(QUICKCHECK) $(CFLAGS) $(CPPFLAGS) $(libfirm_CPPFLAGS) $<
$(Q)$(CC) $(CFLAGS) $(CPPFLAGS) $(libfirm_CPPFLAGS) -MMD -c -o $@ $<
$(docdir)/libfirm.tag: $(IR_SPEC_GENERATED_FILES) Doxyfile $(wildcard include/libfirm/*.h) $(wildcard include/libfirm/adt/*.h)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment