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
c920a5ba
Commit
c920a5ba
authored
Jan 07, 2013
by
Matthias Braun
Browse files
Makefile: use ir subdirs instead of enumerating them manually
parent
4fc55df3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
c920a5ba
...
...
@@ -68,28 +68,8 @@ $(srcdir)config.h:
$(Q)
echo
"#define libfirm_VERSION_MINOR 21"
>>
$@
# libFirm
libfirm_DIRS
:=
\
ir
\
ir/adt
\
ir/ana
\
ir/arch
\
ir/common
\
ir/debug
\
ir/obstack
\
ir/ident
\
ir/net
\
ir/ir
\
ir/lower
\
ir/libcore
\
ir/lpp
\
ir/opt
\
ir/st
\
ir/stat
\
ir/tr
\
ir/tv
\
ir/kaps
\
ir/be
libfirm_SOURCES
=
$(
foreach
dir
,
$(libfirm_DIRS)
,
$(
wildcard
$(dir)
/
*
.c
))
libfirm_SOURCES
=
$(
wildcard
ir/
*
/
*
.c
)
libfirm_DIRS
=
$(
sort
$(
dir
$(libfirm_SOURCES)
))
libfirm_a
=
$(builddir)
/libfirm.a
libfirm_dll
=
$(builddir)
/libfirm
$(DLLEXT)
libfirm_CPPFLAGS
=
-Iinclude
/libfirm
-Iinclude
/libfirm/adt
-I
.
$(
foreach
dir
,
$(libfirm_DIRS)
,-I
$(dir)
)
...
...
Write
Preview
Markdown
is supported
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