From d7ff09b7191fe46a02d8720cb124d9cab0917e14 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 13 Sep 2002 17:00:18 +0000 Subject: 2002-09-13 Joel Sherrill * samples/hello/Makefile.am: Make sure init.c is compiled and included. This test now runs. --- c/src/ada-tests/samples/hello/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'c/src/ada-tests/samples/hello/Makefile.am') diff --git a/c/src/ada-tests/samples/hello/Makefile.am b/c/src/ada-tests/samples/hello/Makefile.am index e7edf3b58e..c5ff73ead4 100644 --- a/c/src/ada-tests/samples/hello/Makefile.am +++ b/c/src/ada-tests/samples/hello/Makefile.am @@ -5,9 +5,12 @@ include $(top_srcdir)/../../../automake/compile.am include $(top_srcdir)/ada.am -hello$(EXEEXT): hello.adb +hello$(EXEEXT): hello.adb init.o $(GNATCOMPILE) -margs -a $< -o $@ +init.o: ../../support/init.c + $(COMPILE.c) -I$(srcdir) -c $< + noinst_PROGRAMS = hello hello_SOURCES = hello.adb \ -- cgit v1.2.3