C:\mingw32\bin\mingw32-make.exe
This path does exist, make is for some reason elsewhere:
C:\MinGW\msys\1.0\bin\make.exe
So when I run --version:
C:\Windows\System32>C:\MinGW\msys\1.0\bin\make.exe --version
GNU Make 3.81
Copyright (C) 2006 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.
This program built for i686-pc-msys
C:\Windows\System32>
Now I try to make manually, using this makefile:
all: Debug/test.o
C:/MinGW/bin/gcc.exe -O0 -g3 -ggdb -p -pg -o "Debug/test.exe" Debug/test.o
Debug/test.o : test.c
C:/MinGW/bin/gcc.exe -c -O0 -g3 -ggdb -p -pg -o "Debug/test.o" test.c
It works:
k:\test>C:\MinGW\msys\1.0\bin\make.exe -f makefile
C:/MinGW/bin/gcc.exe -c -O0 -g3 -ggdb -p -pg -o "Debug/test.o" test.c
C:/MinGW/bin/gcc.exe -O0 -g3 -ggdb -p -pg -o "Debug/test.exe" Debug/test.o
k:\test>
Here I show again the slickedit makefile, after all path modifications that doest work:
# SlickEdit generated file. Do not edit this file except in designated areas.
# Make command to use for dependencies
MAKE=C:\MinGW\msys\1.0\bin\make.exe
RM=rm
MKDIR=mkdir
# -----Begin user-editable area-----
# -----End user-editable area-----
# If no configuration is specified, "Debug" will be used
ifndef CFG
CFG=Debug
endif
#
# Configuration: Debug
#
ifeq "$(CFG)" "Debug"
OUTDIR=Debug
OUTFILE=$(OUTDIR)/test.exe
CFG_INC=
CFG_LIB=
CFG_OBJ=
COMMON_OBJ=$(OUTDIR)/test.o
OBJ=$(COMMON_OBJ) $(CFG_OBJ)
ALL_OBJ=$(OUTDIR)/test.o
COMPILE=C:/MinGW/bin/gcc.exe -c -O0 -g3 -ggdb -p -pg -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $<
LINK=C:/MinGW/bin/gcc.exe -O0 -g3 -ggdb -p -pg -o "$(OUTFILE)" $(ALL_OBJ)
COMPILE_ADA=gnat -g -c -o "$(OUTDIR)/$(*F).o" "$<"
COMPILE_ADB=gnat -g -c -o "$(OUTDIR)/$(*F).o" "$<"
COMPILE_F=gfortran -c -g -o "$(OUTDIR)/$(*F).o" "$<"
COMPILE_F90=gfortran -c -g -o "$(OUTDIR)/$(*F).o" "$<"
COMPILE_D=gdc -c -g -o "$(OUTDIR)/$(*F).o" "$<"
# Pattern rules
$(OUTDIR)/%.o : %.c
$(COMPILE)
$(OUTDIR)/%.o : %.ada
$(COMPILE_ADA)
$(OUTDIR)/%.o : %.d
$(COMPILE_D)
$(OUTDIR)/%.o : %.adb
$(COMPILE_ADB)
$(OUTDIR)/%.o : %.f90
$(COMPILE_F90)
$(OUTDIR)/%.o : %.f
$(COMPILE_F)
# Build rules
all: $(OUTFILE)
$(OUTFILE): $(OUTDIR) $(OBJ)
$(LINK)
$(OUTDIR):
$(MKDIR) -p "$(OUTDIR)"
# Rebuild this project
rebuild: cleanall all
# Clean this project
clean:
$(RM) -f $(OUTFILE)
$(RM) -f $(OBJ)
# Clean this project and all dependencies
cleanall: clean
endif
#
# Configuration: Release
#
ifeq "$(CFG)" "Release"
OUTDIR=Release
OUTFILE=$(OUTDIR)/test.exe
CFG_INC=
CFG_LIB=
CFG_OBJ=
COMMON_OBJ=$(OUTDIR)/test.o
OBJ=$(COMMON_OBJ) $(CFG_OBJ)
ALL_OBJ=$(OUTDIR)/test.o
COMPILE=gcc -c -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $<
LINK=gcc -o "$(OUTFILE)" $(ALL_OBJ)
COMPILE_ADA=gnat -O -c -o "$(OUTDIR)/$(*F).o" "$<"
COMPILE_ADB=gnat -O -c -o "$(OUTDIR)/$(*F).o" "$<"
COMPILE_F=gfortran -O -g -o "$(OUTDIR)/$(*F).o" "$<"
COMPILE_F90=gfortran -O -g -o "$(OUTDIR)/$(*F).o" "$<"
COMPILE_D=gdc -c -g -o "$(OUTDIR)/$(*F).o" "$<"
# Pattern rules
$(OUTDIR)/%.o : %.c
$(COMPILE)
$(OUTDIR)/%.o : %.ada
$(COMPILE_ADA)
$(OUTDIR)/%.o : %.d
$(COMPILE_D)
$(OUTDIR)/%.o : %.adb
$(COMPILE_ADB)
$(OUTDIR)/%.o : %.f90
$(COMPILE_F90)
$(OUTDIR)/%.o : %.f
$(COMPILE_F)
# Build rules
all: $(OUTFILE)
$(OUTFILE): $(OUTDIR) $(OBJ)
$(LINK)
$(OUTDIR):
$(MKDIR) -p "$(OUTDIR)"
# Rebuild this project
rebuild: cleanall all
# Clean this project
clean:
$(RM) -f $(OUTFILE)
$(RM) -f $(OBJ)
# Clean this project and all dependencies
cleanall: clean
endif
Do you have any hints after this?