C++ makefile project calling other files [message #1619294] |
Mon, 16 February 2015 13:27 |
ansh kumar 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 ??
|
|
|
Powered by
FUDForum. Page generated in 0.03389 seconds