Article ID: 102326
Article Last Modified on 10/23/2003
CFLAGS = /Od /Zi /FR
This variable is typically used to specify the command line for
each object module as follows:
CL /c $(CFLAGS) $(PROJ).C
source1.sbr: source1.c
cl /c $(CFLAGS) source.c
If you delete the .SBR files but the project is otherwise up-to-
date, BSCMAKE may fail to update the .SBR files.
SBRS = source1.sbr source2.sbr source3.sbr # and so on
PROJ = proj1
ALL: $(PROJ).exe $(PROJ).bsc
$(PROJ).bsc : $(SBRS)
BSCMAKE /o$@ $(SBRS)
PROJ=hello SBRS=hello.sbr CFLAGS = /Od /Zi /FR all: $(PROJ).exe $(PROJ).bsc hello.sbr: hello.c cl /c $(CFLAGS) hello.c hello.obj: hello.c cl /c $(CFLAGS) hello.c hello.exe: hello.obj link /co hello.obj; hello.bsc: $(SBRS) bscmake /o$@ $(SBRS)
PROJ=hello SBRS=hello.sbr CFLAGS = /Od /Zi /FR all: $(PROJ).exe $(PROJ).bsc hello.sbr: hello.c cl /c $(CFLAGS) hello.c hello.obj: hello.c cl /c $(CFLAGS) hello.c hello.exe: hello.obj link /debug /debugtype:both hello.obj hello.bsc: $(SBRS) bscmake /o$@ $(SBRS)
Additional query words: kbinf 1.20 1.30 1.40 1.50 .bsc .sbr
Keywords: KB102326