[NUT-devel] [nut]: r617 - src/trunk/Makefile

Clemens Ladisch cladisch at fastmail.net
Wed Feb 13 10:16:52 CET 2008


Diego Biurrun wrote:
> On Wed, Feb 13, 2008 at 09:01:59AM +0100, cladisch wrote:
>> -nututils/nutmerge: nututils/demux_avi.c nututils/demux_ogg.c nututils/framer_mp3.c nututils/framer_mpeg4.c nututils/framer_vorbis.c nututils/nutmerge.h libnut/libnut.a
>> +$(NUTMERGE_OBJS): nututils/nutmerge.h
>> +nututils/nutmerge: $(NUTMERGE_OBJS) libnut/libnut.a
>
> Is there a problem this fixes?

$ make
cc -Os -fomit-frame-pointer -g -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ilibnut    nututils/nutmerge.c nututils/demux_avi.c nututils/demux_ogg.c nututils/framer_mp3.c nututils/framer_mpeg4.c nututils/framer_vorbis.c nututils/nutmerge.h
libnut/libnut.a   -o nututils/nutmerge
cc: compilation of header file requested
make: *** [nututils/nutmerge] Error 1

$ cc --version
gcc (GCC) 3.3.4

> Because it's working absolutely fine here and the fix is rather ugly ...

Feel free to change it, but we cannot pretend that the .h file is a .c file.


Regards,
Clemens



More information about the NUT-devel mailing list