chimera2/Imakefile
2021-04-20 14:23:27 +03:00

32 lines
726 B
Text

#include <./Common.tmpl>
#define IHaveSubDirs
#if HasGcc
#ifdef CDebugging
#define PassCDebugFlags "CDEBUGFLAGS=-g -Wall"
#else
#define PassCDebugFlags "CDEBUGFLAGS=-O2 -g -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) Makefile Makefile.bak make.err make.out .depend
for i in $(SUBDIRS); do \
$(RM) $$i/Makefile $$i/Makefile.bak $$i/.depend; \
done