68 |
|
|
69 |
SRC_FILES = $(wildcard */sources.mlb) $(wildcard */*sml) |
SRC_FILES = $(wildcard */sources.mlb) $(wildcard */*sml) |
70 |
|
|
71 |
CODE_FRAG_DIRS = c-util |
CODE_FRAG_DIRS = cxx-util |
72 |
|
|
73 |
CODE_FRAG_FILES = $(patsubst %,%/fragments.sml,$(CODE_FRAG_DIRS)) |
CODE_FRAG_FILES = $(patsubst %,%/fragments.sml,$(CODE_FRAG_DIRS)) |
74 |
CODE_FRAG_MKFILES = $(patsubst %,%/fragments.gmk,$(CODE_FRAG_DIRS)) |
CODE_FRAG_MKFILES = $(patsubst %,%/fragments.gmk,$(CODE_FRAG_DIRS)) |
115 |
# Rules for generating the fragment dependency and source files |
# Rules for generating the fragment dependency and source files |
116 |
# |
# |
117 |
|
|
118 |
c-util/fragments.gmk: c-util/fragments/CATALOG $(wildcard c-util/fragments/*in) |
cxx-util/fragments.gmk: cxx-util/fragments/CATALOG $(wildcard cxx-util/fragments/*in) |
119 |
$(MKMK) c-util |
$(MKMK) cxx-util |
120 |
|
|
121 |
c-util/fragments.sml: |
cxx-util/fragments.sml: |
122 |
$(MKFRAGS) c-util |
$(MKFRAGS) cxx-util |
123 |
|
|
124 |
# |
# |
125 |
# Dependency file rules |
# Dependency file rules |
128 |
ifneq ($(MAKECMDGOALS),clean) |
ifneq ($(MAKECMDGOALS),clean) |
129 |
ifneq ($(MAKECMDGOALS),devclean) |
ifneq ($(MAKECMDGOALS),devclean) |
130 |
ifneq ($(MAKECMDGOALS),distclean) |
ifneq ($(MAKECMDGOALS),distclean) |
131 |
sinclude c-util/fragments.gmk |
sinclude cxx-util/fragments.gmk |
132 |
endif |
endif |
133 |
endif |
endif |
134 |
endif |
endif |
147 |
DISTCLEAN_FILES += Makefile \ |
DISTCLEAN_FILES += Makefile \ |
148 |
common/paths.sml \ |
common/paths.sml \ |
149 |
common/size-of.sml \ |
common/size-of.sml \ |
|
c-util/fragments/config.in \ |
|
150 |
nrrd/run-dnorm.sml \ |
nrrd/run-dnorm.sml \ |
151 |
options/version.sml \ |
options/version.sml \ |
152 |
$(MKMK) $(MKFRAGS) |
$(MKMK) $(MKFRAGS) |