[Change] Nicer solution of giving ldata all the files it needs.

This commit is contained in:
Allanis 2014-05-22 19:16:06 +01:00
parent 7c71ac5558
commit e95f878f7c

View File

@ -93,22 +93,17 @@ endif
# DATA. # DATA.
DATA_AI := $(wildcard ../scripts/ai/*.lua \ DATA_AI := $(wildcard ../scripts/ai/*.lua \
../scripts/ai/include/*.lua \ ../scripts/ai/*/*.lua)
../scripts/ai/tpl/*.lua)
DATA_GFX := $(wildcard ../gfx/*.png \ DATA_GFX := $(wildcard ../gfx/*.png \
../gfx/loading/*.png \ ../gfx/*/*.png \
../gfx/gui/*.png \ ../gfx/*/*/*.png)
../gfx/logo/*.png \
../gfx/outfit/space/*.png \
../gfx/outfit/store/*.png \
../gfx/planet/exterior/*.png \
../gfx/planet/space/*.png \
../gfx/ship/*.png \
../gfx/spfx/*.png)
DATA_XML := $(wildcard ../dat/*.xml ../dat/*.ttf ../dat/intro) DATA_XML := $(wildcard ../dat/*.xml ../dat/*.ttf ../dat/intro)
DATA_SND := $(wildcard ../snd/music/*.ogg \ DATA_SND := $(wildcard ../snd/music/*.ogg \
../snd/sounds/*.wav) ../snd/music.lua ../snd/sounds/*.wav) ../snd/music.lua
DATA_MISN := $(wildcard ../dat/missions/*.lua) DATA_MISN := $(wildcard ../dat/missions/*.lua \
../dat/missions/*/*.lua \
../dat/mission/*/*/*.lua)
DATA := ldata DATA := ldata
DATAFILES := $(DATA_AI) $(DATA_GFX) $(DATA_XML) $(DATA_SND) $(DATA_MISN) DATAFILES := $(DATA_AI) $(DATA_GFX) $(DATA_XML) $(DATA_SND) $(DATA_MISN)