Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Managed Make and how you use it


hi folks,
i've got two managed make c projects which refer to each other and have different .c files in it, used for the executable file.
now i want to create an executable .exe.
when i build all the files, the makefile, subdir.dep and subdir.mk are created and the make-process starts.

now my problem occurs.

an endless loop: (cut-out from c-build view)

make clean all
if EXIST *.o del ausgabe.o init.o main.o     minmax1.exe
cd D:/Programme/eclipse/workspace/minmax2/Release && make clean all
D:\Programme\eclipse\workspace\minmax1\Release
make[1]: Entering directory `D:/Programme/eclipse/workspace/minmax1/Release'
if EXIST *.o del ausgabe.o init.o main.o     minmax1.exe
cd D:/Programme/eclipse/workspace/minmax2/Release && make clean all
D:\Programme\eclipse\workspace\minmax1\Release
...

the different projects are in different directories, of course.
to change the folder the following command is written down in the makefile
deps:
        -cd D:/Programme/eclipse/workspace/minmax2/Release && $(MAKE) clean all

and i guess that's the problem
since i'm working in windows2000, there's needed a backslash instead of a slash for changing the directory

is it possible to change the default setting for how the makefile compounds this command?

or is my problem complete different and i'm off the track.

Back to the top