Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
a2646117
Commit
a2646117
authored
Mar 20, 2013
by
Matthias Braun
Browse files
use cparser-beta for additional syntax/warning checks if available
parent
47fd481d
Changes
1
Show whitespace changes
Inline
Side-by-side
Makefile
View file @
a2646117
...
@@ -160,8 +160,12 @@ $(libfirm_dll): $(libfirm_OBJECTS)
...
@@ -160,8 +160,12 @@ $(libfirm_dll): $(libfirm_OBJECTS)
# Generic rules
# Generic rules
UNUSED
:=
$(
shell
mkdir
-p
$
(
libfirm_DIRS:%
=
$(builddir)
/%
))
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
$(builddir)/%.o
:
%.c $(IR_SPEC_GENERATED_FILES) config.h
@
echo
CC
$@
@
echo
CC
$@
$(Q)$(QUICKCHECK)
$(CFLAGS)
$(CPPFLAGS)
$(libfirm_CPPFLAGS)
$<
$(Q)$(CC)
$(CFLAGS)
$(CPPFLAGS)
$(libfirm_CPPFLAGS)
-MMD
-c
-o
$@
$<
$(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)
$(docdir)/libfirm.tag
:
$(IR_SPEC_GENERATED_FILES) Doxyfile $(wildcard include/libfirm/*.h) $(wildcard include/libfirm/adt/*.h)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment