tests: try to fix 'make dist' when cog is not installed

This commit is contained in:
Tim-Philipp Müller 2009-12-17 01:05:28 +00:00
parent d2dce72c60
commit 3211efe830

View file

@ -47,13 +47,12 @@ COG_TESTS =
endif
if USE_COG
BUILT_SOURCES = cog-test.c
CLEANFILES = cog-test.c
cog-test.c: $(srcdir)/../../ext/cog/cog.orc
$(ORCC) --test -o cog-test.c $(srcdir)/../../ext/cog/cog.orc
cog_test_SOURCES = cog-test.c
nodist_cog_test_SOURCES = cog-test.c
cog_test_CFLAGS = $(COG_CFLAGS)
cog_test_LDADD = -lorc-test-0.4 $(COG_LIBS)
endif