1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00
cde/cde/config/Imakefile
Jon Trulson 4d48253234 linux depend: stop using makedepend, use gcc instead
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.
2014-03-08 23:43:17 -07:00

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))