mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-14 00:10:43 +00:00
8da551b601
top-level Makefile has @src_dir@, right thing is @srcdir@, and some tabs seem tohave been converted to spaces.
38 lines
730 B
Makefile
38 lines
730 B
Makefile
SUBDIRS = qw_client qw_server uquake
|
|
SRC_DIR = @srcdir@
|
|
|
|
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
|