This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: automake and using an unsupported compiler
- From: Alexandre Duret-Lutz <duret_g at lrde dot epita dot fr>
- To: Michael Obster <praenti at lug-in dot de>
- Cc: automake at gnu dot org
- Date: Sun, 09 Mar 2003 20:13:30 +0100
- Subject: Re: automake and using an unsupported compiler
- References: <3E5F1A4C.3000700@lug-in.de>
>>> "Michael" == Michael Obster <praenti at lug-in dot de> writes:
Michael> Hi,
Michael> i have a little problem with autoconf/automake.
Michael> i want to compile a program with the command:
Michael> fdpl -g -o program -main ownmain.c program.fdpl
Michael> ownmain.c is a normal c file.
Michael> program.fdpl is fdpl language
Michael> how can i get this compiled with automake. bin_PROGRAMS or s.th. like
Michael> that did not work for me, because program is completely linked by the
Michael> fdpl compiler himself.
Michael> a target definition .fdpl.o: gives me only objectnames and not the
Michael> wanted output name.
How about writing your own build rule? Something like this
bin_PROGRAMS = program
program_SOURCES = # empty
EXTRA_DIST = ownmain.c program.fdpl
program$(EXEEXT): ownmain.c program.fdpl
fdpl -g -o $@ -main ownmain.c program.fdpl
--
Alexandre Duret-Lutz