Zhaolin Xie
2003-11-07 18:52:17 UTC
Hi,
I copied a makefile from a software supply and modified it to biuld my own library file. Some lines of the makefile are:
DEBUGS= -v
CFLAGS= $(DEBUGS) -DMSDOS -DETH_MSS=576 -Id:\borlandc\include \
-Ld:\borlandc\lib
MODELL= -ml
.c.obj:
d:\borlandc\bin\bcc -c $(MODELL)$(CFLAGS) $*.c
d:\borlandc\bin\tlib d:\myplace\mylib -+$*
The compiler (both Borland C++ 3.0 and 4.5) always say:
Error makefile 7: No match found for wildcard '-+$*'
Error makefile 7: Command syntax error
I changed -c to -P-c, the result was the same.
I asked the software supply and they said they didn't have such a problem.
Could you please tell me how to solve this problem and what the correct format of a makefile is to build a library file?
Thank you.
I copied a makefile from a software supply and modified it to biuld my own library file. Some lines of the makefile are:
DEBUGS= -v
CFLAGS= $(DEBUGS) -DMSDOS -DETH_MSS=576 -Id:\borlandc\include \
-Ld:\borlandc\lib
MODELL= -ml
.c.obj:
d:\borlandc\bin\bcc -c $(MODELL)$(CFLAGS) $*.c
d:\borlandc\bin\tlib d:\myplace\mylib -+$*
The compiler (both Borland C++ 3.0 and 4.5) always say:
Error makefile 7: No match found for wildcard '-+$*'
Error makefile 7: Command syntax error
I changed -c to -P-c, the result was the same.
I asked the software supply and they said they didn't have such a problem.
Could you please tell me how to solve this problem and what the correct format of a makefile is to build a library file?
Thank you.