automake
[Top][All Lists]
Advanced

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

compile multiple programs w/extension gives error


From: Heiko Panther
Subject: compile multiple programs w/extension gives error
Date: Mon, 14 Nov 2005 14:59:21 -0800
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050414

-----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]