Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » C++ makefile project calling other files
C++ makefile project calling other files [message #1619294] Mon, 16 February 2015 13:27
ansh kumar is currently offline ansh kumarFriend
Messages: 1
Registered: February 2015
Junior Member
I've imported a makefile project in eclipse which has the following structure:
ifndef config
  config=debug
endif
export config

PROJECTS := ocgcore clzma

.PHONY: all clean help $(PROJECTS)

all: $(PROJECTS)

ocgcore: 
	@echo "==== Building ocgcore ($(config)) ===="
	@${MAKE} --no-print-directory -C . -f ocgcore.make

clzma: 
	@echo "==== Building clzma ($(config)) ===="
	@${MAKE} --no-print-directory -C . -f clzma.make

clean:
	@${MAKE} --no-print-directory -C . -f ocgcore.make clean
	@${MAKE} --no-print-directory -C . -f clzma.make clean


As one can see ocgcore and clzma are using -f option to call other makefile. The problem is that eclipse is not recognizing these makefiles and is unable to build index, so the code editor window is showing "can not be resolved" (something like that) .
What to do ??
Previous Topic:Eclipse Luna installs ok on Kubuntu 14.04, but new project crashes
Next Topic:Custom tool chain
Goto Forum:
  


Current Time: Fri Apr 19 21:18:56 GMT 2024

Powered by FUDForum. Page generated in 0.02561 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top