24,854
社区成员
发帖
与我相关
我的任务
分享
include ../../makefile.defs
CPPFLAGS = -I ../../sys -I ../../dwsys
OBJECTS = gsl_blas__blas.o gsl_block__block.o gsl_block__file.o \
gsl_block__init.o gsl_bspline__bspline.o gsl_cblas__caxpy.o \
gsl_cblas__ccopy.o gsl_cblas__cdotc_sub.o gsl_cblas__cdotu_sub.o \
……此处省略N个o文件列表
.PHONY: all clean
all: libgsl.a
clean:
$(RM) $(OBJECTS)
$(RM) libgsl.a
libgsl.a: $(OBJECTS)
touch libgsl.a
rm libgsl.a
$(AR) cq libgsl.a $(OBJECTS)
$(RANLIB) libgsl.a
$(OBJECTS): *.h
make -C external/gsl
make[1]: Entering directory `C:/praat/external/gsl'
touch libgsl.a
Can not find file:libgsl.a
rm libgsl.a
process_begin: CreateProcess(NULL, rm libgsl.a, ...) failed.
make (e=2): 系统找不到指定的文件。
make[1]: *** [libgsl.a] Error 2
make[1]: Leaving directory `C:/praat/external/gsl'
make: *** [all] Error 2
@echo off
if "%1"=="" goto no1
if exist %1 goto touch
@echo Can not find file:%1
goto eee
:touch
copy /b %1+,, >NUL
@echo OK to change datetime of file %1 to %date% %time%
goto eee
:no1
@echo TOUCH - Change datetime of file to NOW.
@echo Use: TOUCH filename.ext
:eee
del "%1"
另外我怀疑你mingw32环境没安装好或path环境变量没添加指向mingw32提供的bin目录。