Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] nulls in makefile building library

Hi all,

Can anyone shed some light on this?
It's really annoying having to manually correct the makefile every time
I want to build the library.

Thank you,
--
Joao Filipe Placido

P.S.: running eclipse 3.0.1 with CDT 2.1 RC4 in linux.

> -----Original Message-----
> From: cdt-dev-admin@xxxxxxxxxxx [mailto:cdt-dev-admin@xxxxxxxxxxx] On
> Behalf Of Joao Filipe Placido
> Sent: domingo, 5 de Dezembro de 2004 19:16
> To: cdt-dev@xxxxxxxxxxx
> Subject: [cdt-dev] nulls in makefile building library
> 
> Hello all,
> 
> I'm using eclipse 3.0.1 with CDT 2.1 RC4 and I'm getting these 'null's
in
> the makefile for a static library managed build project. It should be
> something like "ar ru" instead of "null null".
> I had CDT 2.0.2 before with the same problem.
> There doesn't seem to be a way to configure the archive tool for
building
> library targets with CDT.
> Here's the generated makefile:
> 
> <snip>
> 
>
########################################################################
##
> ######
> # Automatically-generated file. Do not edit!
>
########################################################################
##
> ######
> 
> ROOT := ..
> 
> -include $(ROOT)/makefile.init
> 
> RM := rm -rf
> 
> # All of the sources participating in the build are defined here
> -include sources.mk
> -include $(SUBDIRS:%=%/subdir.mk)
> -include objects.mk
> -include $(DEPS)
> -include $(ROOT)/makefile.defs
> 
> all: libct.a
> 
> libct.a: $(OBJS)
> 	@echo 'Building target: $@'
> 	null null  $@ $(OBJS) $(USER_OBJS) $(LIBS)
> 	@echo 'Finished building: $@'
> 
> clean:
> 	-$(RM) $(OBJS) $(DEPS) libct.a
> 
> .PHONY: all clean dependents
> 
> -include $(ROOT)/makefile.targets
> 
> </snip>
> 
> 
> Is this a bug or is there a way to correct this by configuration?
> 
> Thanks in advance.
> 
> --
> Joao Filipe Placido
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top