Skip to main content



      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 08:27
Eclipse UserFriend
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: Mon Jul 07 06:48:00 EDT 2025

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

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

Back to the top