33 lines
734 B
Text
33 lines
734 B
Text
|
#include <./Common.tmpl>
|
||
|
|
||
|
#define IHaveSubDirs
|
||
|
|
||
|
#if HasGcc
|
||
|
#ifdef CDebugging
|
||
|
#define PassCDebugFlags "CDEBUGFLAGS=-g -Wall"
|
||
|
#else
|
||
|
#define PassCDebugFlags "CDEBUGFLAGS=-O -Wall"
|
||
|
#endif
|
||
|
#else
|
||
|
#ifdef CDebugging
|
||
|
#define PassCDebugFlags "CDEBUGFLAGS=-g $(OS_DEBUG_FLAGS)"
|
||
|
#else
|
||
|
#define PassCDebugFlags "CDEBUGFLAGS=-O $(OS_DEBUG_FLAGS)"
|
||
|
#endif
|
||
|
#endif
|
||
|
|
||
|
SUBDIRS = port common image html plain proto mxw chimera
|
||
|
|
||
|
MakeSubdirs($(SUBDIRS))
|
||
|
InstallSubdirs($(SUBDIRS))
|
||
|
DependSubdirs($(SUBDIRS))
|
||
|
CleanSubdirs($(SUBDIRS))
|
||
|
MakefileSubdirs($(SUBDIRS))
|
||
|
InstallManSubdirs($(SUBDIRS))
|
||
|
|
||
|
myclean: clean
|
||
|
$(RM) Common.tmpl Makefile Makefile.bak make.err make.out .depend
|
||
|
for i in $(SUBDIRS); do \
|
||
|
$(RM) $$i/Makefile $$i/Makefile.bak $$i/.depend; \
|
||
|
done
|