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/ChangeLog | 5 +++++ c/src/ada-tests/samples/hello/Makefile.am | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/c/src/ada-tests/ChangeLog b/c/src/ada-tests/ChangeLog index b6a743181f..c042711122 100644 --- a/c/src/ada-tests/ChangeLog +++ b/c/src/ada-tests/ChangeLog @@ -1,3 +1,8 @@ +2002-09-13 Joel Sherrill + + * samples/hello/Makefile.am: Make sure init.c is compiled and + included. This test now runs. + 2002-09-07 Joel Sherrill * samples/base_mp/config.h: New file previously missed. 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