Make "make" aware of convenience libraries in subdirectories

This may not be the most sophisticated solution (i.e. I would have
preferred to use wildcards in the target rules), but it should be
good enough to fix #938.
This commit is contained in:
Fabian Greffrath 2017-09-20 10:26:48 +02:00
parent 58fee652c4
commit 4082f7caec

View file

@ -168,6 +168,20 @@ endif
$(SETUP_BINARIES): @PROGRAM_PREFIX@setup$(EXEEXT)
cp @PROGRAM_PREFIX@setup$(EXEEXT) $@
# Make "make" aware of convenience libraries in subdirectories
doom/libdoom.a:
$(MAKE) -C doom
heretic/libheretic.a:
$(MAKE) -C heretic
hexen/libhexen.a:
$(MAKE) -C hexen
strife/libstrife.a:
$(MAKE) -C strife
# Source files needed for chocolate-setup:
SETUP_FILES= \