mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
gcc can generate dependencies, so use that instead of building and depending on the rather delicate and archaic 'makedepend'. This fix removes makedepend from being built or used on linux, and instead uses gcc to generate dependency data in .depend files. I think pretty much every platform that uses gcc should do this. I am not sure if other compilers (intel, clang) can do this though.
17 lines
433 B
Text
17 lines
433 B
Text
XCOMM $XConsortium: Imakefile /main/6 1996/09/28 16:04:42 rws $
|
|
#define IHaveSubdirs
|
|
#define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)"
|
|
|
|
#undef BootstrapCleanSubdirs
|
|
#define BootstrapCleanSubdirs BOOTSTRAPSUBDIRS="$(BOOTSTRAPSUBDIRS)"
|
|
|
|
#if defined(LinuxArchitecture)
|
|
BOOTSTRAPSUBDIRS = imake
|
|
#else
|
|
BOOTSTRAPSUBDIRS = imake makedepend
|
|
#endif
|
|
|
|
SUBDIRS = cf $(BOOTSTRAPSUBDIRS) util
|
|
|
|
MakeSubdirs($(SUBDIRS))
|
|
DependSubdirs($(SUBDIRS))
|