Commit 76933426 authored by Michaël Cadilhac's avatar Michaël Cadilhac
Browse files

2005-09-13 Michael Cadilhac <michael.cadilhac@lrde.epita.fr>

	* tests/Makefile.am: Add  monoburg$(EXEEXT) to the dependencies of
	.c files generated from .brg.
parent 62459fa5
2005-09-13 Michael Cadilhac <michael.cadilhac@lrde.epita.fr>
* tests/Makefile.am: Add monoburg$(EXEEXT) to the dependencies of
.c files generated from .brg.
2005-09-12 Roland Levillain <roland@lrde.epita.fr>
* configure.ac: Bump to 1.0.3a.
......
......@@ -19,16 +19,19 @@
TESTS = sample.test
%.c: %.brg
cd $(top_builddir)/src && $(MAKE) $(AM_MAKEFLAGS) monoburg
$(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)
$(top_builddir)/src/monoburg$(EXEEXT) $< > $@
%.test: %.c
@if ! cmp $< $(srcdir)/$<.ref; then \
echo 'rm $$0; exit 1' > $@; \
else \
echo 'rm $$0; exit 0' > $@; \
fi; \
if ! cmp $< $(srcdir)/$<.ref; then \
echo 'rm $$0; exit 1' > $@; \
else \
echo 'rm $$0; exit 0' > $@; \
fi
chmod a+x $@
EXTRA_DIST = $(TESTS:.test=.brg) $(TESTS:.test=.c.ref)
......
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