Commit 32803c36 authored by Roland Levillain's avatar Roland Levillain
Browse files

Factor Makefiles' helpers.

	* scribo.mk, tests/tests.mk (AM_CPPFLAGS): Move...
	* common.mk: ...here.
parent 0f3d77e2
2010-04-22 Roland Levillain <roland@lrde.epita.fr>
Factor Makefiles' helpers.
* scribo.mk, tests/tests.mk (AM_CPPFLAGS): Move...
* common.mk: ...here.
2010-04-22 Roland Levillain <roland@lrde.epita.fr>
Use AM_DEFAULT_SOURCE_EXT to simplify Scribo's Makefiles.
......
......@@ -20,3 +20,7 @@
# C++ sources.
AM_DEFAULT_SOURCE_EXT = .cc
# Add paths to Scribo's headers.
AM_CPPFLAGS = -I$(top_srcdir)/ -I$(top_builddir)/ \
-I$(top_srcdir)/milena -I$(top_builddir)/milena
......@@ -17,13 +17,6 @@
include $(top_srcdir)/scribo/common.mk
# Add path to Scribo's headers
AM_CPPFLAGS = \
-I$(top_srcdir)/scribo \
-I$(top_builddir)/scribo\
-I$(top_srcdir)/milena \
-I$(top_builddir)/milena
SCRIBO_CXXFLAGS = @SCRIBO_CXXFLAGS@
AM_CXXFLAGS = $(SCRIBO_CXXFLAGS)
......
......@@ -21,12 +21,6 @@
include $(top_srcdir)/scribo/common.mk
AM_CPPFLAGS = \
-I$(top_srcdir)/scribo \
-I$(top_builddir)/scribo\
-I$(top_srcdir)/milena \
-I$(top_builddir)/milena
SCRIBO_TESTS_CXXFLAGS = @SCRIBO_TESTS_CXXFLAGS@
AM_CXXFLAGS = $(SCRIBO_TESTS_CXXFLAGS)
......
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