mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-01-20 07:30:49 +00:00
ee9f745b14
places in the various Makefile.in's. Having them all in the module root like that may make it easy to make a change that affects everything all at once but it's real bitch to try and maintain those files. They're all gone now and we'll just have to maintain the seperate makefiles.
38 lines
758 B
Makefile
38 lines
758 B
Makefile
SUBDIRS = qw_client qw_server uquake
|
|
SRC_DIR = @src_dir@
|
|
|
|
all:
|
|
@for dir in $(SUBDIRS); do \
|
|
$(MAKE) -C $$dir $@ || exit; \
|
|
done
|
|
|
|
distclean:
|
|
rm -f config.cache config.log config.status Makefile
|
|
for dir in $(SUBDIRS); do \
|
|
$(MAKE) -C $$dir $@ || exit; \
|
|
done
|
|
|
|
%:
|
|
@for dir in $(SUBDIRS); do \
|
|
$(MAKE) -C $$dir $@ || exit; \
|
|
done
|
|
|
|
|
|
# Code to automatically re-configure, only runs if you are compiling in the
|
|
# source directory
|
|
ifeq ($(SRC_DIR),.)
|
|
configure: configure.in
|
|
autoconf
|
|
|
|
Makefile: Makefile.in configure
|
|
./configure
|
|
|
|
qw_client/Makefile: qw_client/Makefile.in configure
|
|
./configure
|
|
|
|
qw_server/Makefile: qw_server/Makefile.in configure
|
|
./configure
|
|
|
|
uquake/Makefile: uquake/Makefile.in configure
|
|
./configure
|
|
endif
|