www.digitalmars.com         C & C++   DMDScript  

c++.command-line - SMAKE always rebuilds files

Hi, when I run SMAKE on my generated makefile, all files are compiled 
again, even if nothin has changed. I expected SMAKE to just compile changed 
files. My makefile has a structure like this:





"WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /c

"WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /c

CFLAGS= -Jm -w -v0 -ND -w--Ae -g -o-all -I. -I.. -I../dbinc -DWIN32 - 
D_DEBUG -D_CONSOLE -D_MBCS -HX /c -mn -c
CPPFLAGS= -Jm -w -v0 -ND -w--Ae -g -o-all -I. -I.. -I../dbinc -DWIN32 - 
D_DEBUG -D_CONSOLE -D_MBCS -HX /c -mn -c

build_all: db_archive db_checkpoint db_deadlock DB_DLL db_dump db_load 
db_printlog db_recover db_stat db_upgrade db_verify DB_Static ex_access 
ex_btrec ex_env ex_lock ex_mpool ex_tpcb excxx_access excxx_btrec excxx_env 
excxx_lock excxx_mpool excxx_tpcb db_lib

db_archive: db_lib ..\db_archive\db_archive.obj ..\clib\getopt.obj

db_lib: db_dll db_static

etc.

-- 
Robert M. Münch
Mar 09 2003