[fpc-devel]wrong MAKE all

Darek Mazur darekm at emadar.com
Fri Jan 9 23:10:53 CET 2004


Hi
I've try to do
make all

but I recieve ***No rule to make target clean

my home dir is c:\fp, and I use WIN98

I nottice  that UTILS clean good, from log :
MAKE.EXE[5]: Leaving directory `C:/fp/source/compiler/utils'

 but for rtl MAKE looking for c:\pp

C:/FP/BIN/WIN32/MAKE.EXE -C c:/pp/units/win32/rtl clean
                                                         ^^^^
in make file is:
ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl units)),)
override FPCDIR:=$(FPCDIR)/..
ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl units)),)
override FPCDIR=c:/pp

I think that default directory is c:\pp, but how this change.

Darek

-----------------
PS.
log from make --debug

Must remake target `clean'.
Successfully remade target file `clean'.
MAKE.EXE[5]: Leaving directory `C:/fp/source/compiler/utils'
  Successfully remade target file `utils_clean'.
   File `i386_clean' does not exist.
  Must remake target `i386_clean'.
C:/FP/BIN/WIN32/rm.exe -f i386/*.o i386/*.ppu i386/*.rst i386/*.s i386/*.a
i386/*.dll i386/*.ppl
C:/FP/BIN/WIN32/rm.exe -f i386/ppc386.exe i386/ppcaxp.exe i386/ppc68k.exe
i386/ppcppc.exe i386/ppcppc.exe i386/ppc386.exe
  Successfully remade target file `i386_clean'.
   File `powerpc_clean' does not exist.
  Must remake target `powerpc_clean'.
C:/FP/BIN/WIN32/rm.exe -f powerpc/*.o powerpc/*.ppu powerpc/*.rst
powerpc/*.s powerpc/*.a powerpc/*.dll powerpc/*.ppl
C:/FP/BIN/WIN32/rm.exe -f powerpc/ppc386.exe powerpc/ppcaxp.exe
powerpc/ppc68k.exe powerpc/ppcppc.exe powerpc/ppcppc.exe powerpc/ppc386.exe
  Successfully remade target file `powerpc_clean'.
   File `sparc_clean' does not exist.
  Must remake target `sparc_clean'.
C:/FP/BIN/WIN32/rm.exe -f sparc/*.o sparc/*.ppu sparc/*.rst sparc/*.s
sparc/*.a sparc/*.dll sparc/*.ppl
C:/FP/BIN/WIN32/rm.exe -f sparc/ppc386.exe sparc/ppcaxp.exe sparc/ppc68k.exe
sparc/ppcppc.exe sparc/ppcppc.exe sparc/ppc386.exe
  Successfully remade target file `sparc_clean'.
Must remake target `clean'.
Successfully remade target file `clean'.
MAKE.EXE[4]: Leaving directory `C:/fp/source/compiler'
C:/FP/BIN/WIN32/MAKE.EXE -C c:/pp/units/win32/rtl clean
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for mingw32
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.





More information about the fpc-devel mailing list