[ruamoko] Clean up ruamoko/lib rules

They were ok before the update to non-recursive make, but with the extra
bits of path, the rules got very hard to read.
This commit is contained in:
Bill Currie 2021-12-22 00:33:38 +09:00
parent dcd1fa28ba
commit a89aa7fc33

View file

@ -37,14 +37,27 @@ EXTRA_ruamoko_lib_libr_a_DEPENDENCIES=pak
include $(ruamoko_lib_libr_a_dep) # am--include-marker
r_depfiles_remade += $(ruamoko_lib_libr_a_dep)
ruamoko_lib_common_src=ruamoko/lib/debug.r ruamoko/lib/system.r ruamoko/lib/legacy_string.r
ruamoko_lib_common_src= \
ruamoko/lib/debug.r \
ruamoko/lib/system.r \
ruamoko/lib/legacy_string.r
ruamoko_lib_server_src= \
ruamoko/lib/crudefile.r ruamoko/lib/entities.r ruamoko/lib/infokey.r ruamoko/lib/message.r \
ruamoko/lib/physics.r ruamoko/lib/server.r ruamoko/lib/sv_sound.r
ruamoko/lib/crudefile.r \
ruamoko/lib/entities.r \
ruamoko/lib/infokey.r \
ruamoko/lib/message.r \
ruamoko/lib/physics.r \
ruamoko/lib/server.r \
ruamoko/lib/sv_sound.r
ruamoko_lib_libqw_a_src= \
ruamoko/lib/qw_message.r ruamoko/lib/qw_physics.r ruamoko/lib/qw_sys.r
ruamoko/lib/qw_message.r \
ruamoko/lib/qw_physics.r \
ruamoko/lib/qw_sys.r
ruamoko_lib_libnq_a_src= \
ruamoko/lib/nq_message.r
ruamoko_lib_libcsqc_a_src= \
ruamoko/lib/draw.r \
ruamoko/lib/gib.r \
@ -60,21 +73,31 @@ ruamoko_lib_server_dep=$(call qcautodep,$(ruamoko_lib_server_src))
include $(ruamoko_lib_server_dep) # am--include-marker
r_depfiles_remade += $(ruamoko_lib_server_dep)
ruamoko_lib_libqw_a_SOURCES=$(ruamoko_lib_libqw_a_src) $(ruamoko_lib_common_src) $(ruamoko_lib_server_src) ruamoko/lib/math.r
ruamoko_lib_libqw_a_SOURCES= \
$(ruamoko_lib_libqw_a_src) \
$(ruamoko_lib_common_src) \
$(ruamoko_lib_server_src) \
ruamoko/lib/math.r
ruamoko_lib_libqw_a_dep=$(call qcautodep,$(ruamoko_lib_libqw_a_src))
ruamoko_lib_libqw_a_AR=$(PAK) -cf
EXTRA_ruamoko_lib_libqw_a_DEPENDENCIES=pak
include $(ruamoko_lib_libqw_a_dep) # am--include-marker
r_depfiles_remade += $(ruamoko_lib_libqw_a_dep)
ruamoko_lib_libnq_a_SOURCES=$(ruamoko_lib_libnq_a_src) $(ruamoko_lib_common_src) $(ruamoko_lib_server_src) ruamoko/lib/math.r
ruamoko_lib_libnq_a_SOURCES=\
$(ruamoko_lib_libnq_a_src) \
$(ruamoko_lib_common_src) \
$(ruamoko_lib_server_src) \
ruamoko/lib/math.r
ruamoko_lib_libnq_a_dep=$(call qcautodep,$(ruamoko_lib_libnq_a_src))
ruamoko_lib_libnq_a_AR=$(PAK) -cf
EXTRA_ruamoko_lib_libnq_a_DEPENDENCIES=pak
include $(ruamoko_lib_libnq_a_dep) # am--include-marker
r_depfiles_remade += $(ruamoko_lib_libnq_a_dep)
ruamoko_lib_libcsqc_a_SOURCES=$(ruamoko_lib_libcsqc_a_src) $(ruamoko_lib_common_src)
ruamoko_lib_libcsqc_a_SOURCES=\
$(ruamoko_lib_libcsqc_a_src) \
$(ruamoko_lib_common_src)
ruamoko_lib_libcsqc_a_dep=$(call qcautodep,$(ruamoko_lib_libcsqc_a_src))
ruamoko_lib_libcsqc_a_AR= $(PAK) -cf
EXTRA_ruamoko_lib_libcsqc_a_DEPENDENCIES=pak