Commit 44493c7e authored by Roland Levillain's avatar Roland Levillain

Do not use GNU Make features gratuitously.

	* tests/Makefile.am (SUFFIXES): New.
	(%.c, %.test): Turn these pattern rules into...
	(.brg.c, .c.test): ...these suffix rules.
parent 9cae0982
2012-03-08 Roland Levillain <roland@lrde.epita.fr>
Do not use GNU Make features gratuitously.
* tests/Makefile.am (SUFFIXES): New.
(%.c, %.test): Turn these pattern rules into...
(.brg.c, .c.test): ...these suffix rules.
2006-06-16 Roland Levillain <roland@lrde.epita.fr>
Fix the recipient of Vcs' messages.
......
......@@ -2,7 +2,7 @@
##
## MonoBURG, an iburg like code generator generator.
##
## Copyright (C) 2001, 2002, 2004, 2005 Ximian, Inc.
## Copyright (C) 2001, 2002, 2004, 2005, 2012 Ximian, Inc.
##
## This program is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License
......@@ -22,11 +22,12 @@ TESTS = sample.test
$(top_builddir)/src/monoburg$(EXEEXT):
cd $(top_builddir)/src && $(MAKE) $(AM_MAKEFLAGS) monoburg$(EXEEXT)
## Uses GNU Make features.
%.c: %.brg $(top_builddir)/src/monoburg$(EXEEXT)
SUFFIXES = .brg .test
.brg.c: $(top_builddir)/src/monoburg$(EXEEXT)
$(top_builddir)/src/monoburg$(EXEEXT) $< > $@
%.test: %.c
.c.test:
diff_tool=diff; \
test x$(VERBOSE) = x && diff_tool=cmp; \
if ! $$diff_tool $< $(srcdir)/$<.ref; then \
......
Markdown is supported
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