Generalise makefile references to subdirectories of lib.

This commit is contained in:
Keith Marshall
2012-01-16 20:26:49 +00:00
parent 32bd06e544
commit ec54dd65e2
3 changed files with 12 additions and 7 deletions

View File

@@ -70,18 +70,15 @@ DISTFILES = Makefile.in $(DEF_FILES) $(MRI_FILES) $(SOURCES)
# which is the primary default target identified in the included
# common makefile fragment, ${top_builddir}/Makefile.comm
#
all-default: $(EXTRA_OBJS) $(LIBS) ddk directx
all-default: $(EXTRA_OBJS) $(LIBS) $(SUBDIRS)
%-subdirs:
for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir $*; \
done
ddk:
$(MAKE) -C $@
directx:
$(MAKE) -C $@
$(SUBDIRS):
cd $@ && $(MAKE)
TEST_OPTIONS = \
$(ALL_CFLAGS) -DWINVER=0x0666 -Wall -pedantic -Wsystem-headers \