warzone2100/data/Makefile.raw

29 lines
647 B
Makefile

MAKERULES=../makerules
include $(MAKERULES)/configure.mk
BASELIST = anims audio components effects features \
gamedesc.lev images locale messages misc multiplay novideo.rpl palette.bin \
script sequenceaudio stats structs texpages wrf
PATCHLIST = addon.lev anims audio components effects \
messages multiplay stats structs texpages wrf
BASEARCHIVE=warzone.wz
PATCHARCHIVE=mp.wz
all:
ifdef DATA
all: $(BASEARCHIVE) $(PATCHARCHIVE)
endif
$(BASEARCHIVE): $(BASELIST)
zip -ru0 $@ $(BASELIST) -x *svn*
zip -T $@
$(PATCHARCHIVE):
cd mp && zip -ru0 ../$@ $(PATCHLIST) -x *svn*
zip -T $@
clean:
$(RMF) $(BASEARCHIVE)
$(RMF) $(PATCHARCHIVE)