automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compile multiple programs w/extension gives error


From: Harlan Stenn
Subject: Re: compile multiple programs w/extension gives error
Date: Mon, 14 Nov 2005 23:08:26 +0000

Use:

noinst_PROGRAMS = program.elf
noinst_SCRIPTS = program.bin

H
--
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi!
> 
> Trying the following gives me an error.
> 
> noinst_PROGRAMS = program.elf program.bin
> program_elf_SOURCES = main.c
> 
> program.bin: program.elf
>       $(OBJCOPY) -O binary program.elf program.bin
> 
> Use of uninitialized value in concatenation (.) or string at
> /usr/bin/automake-1.6 line 8449.
> : deprecated feature: `program.bin' overrides `program.bin$(EXEEXT)'
> : change your target to read `program.bin$(EXEEXT)'
> 
> 
> Just to try it, I actually followed Automake's advice:
> 
> noinst_PROGRAMS = program.elf program.bin$(EXEEXT)
> program_elf_SOURCES = main.c
> 
> program.bin$(EXEEXT): program.elf
>       $(OBJCOPY) -O binary program.elf program.bin$(EXEEXT)
> 
> config.status: executing depfiles commands
> Makefile:173: .deps/program.bin.Po: No such file or directory
> make: *** No rule to make target `.deps/program.bin.Po'.  Stop.
> 
> 
> Any ideas?
> Thanks!
> Heiko
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAkN5FskACgkQnbN38ql/gmDeFQCfabhABFRvMF0V/pU/Tf2NiiRJ
> 1X8An3D0WC2XIiCe+odsPrCtN1i+zG6C
> =FddL
> -----END PGP SIGNATURE-----
> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]