1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-05-06 07:15:15 +01:00

Split compilation and installation of DLB as much as possible

bhaak said it's ok
This commit is contained in:
Edoardo Spadolini 2015-02-18 09:34:37 +01:00
parent 41dcdd8635
commit fd5d1140e4

View file

@ -174,11 +174,17 @@ GEM_RSC.RSC:
title.img:
( cd dat ; $(MAKE) title.img )
check-dlb: options
# little kludge to make sure this runs after everything else, in make all
# there's much worse, in these makefiles
check-dlb: options $(VARDAT) dungeon spec_levs
@if egrep -s librarian dat/options ; then $(MAKE) dlb ; else true ; fi
dlb:
dlb: dat/nhdat
util/dlb:
( cd util ; $(MAKE) dlb )
dat/nhdat: util/dlb $(addprefix dat/,$(DATDLB))
( cd dat ; ../util/dlb cf nhdat $(DATDLB) )
# recover can be used when INSURANCE is defined in include/config.h