diff options
Diffstat (limited to 'pkg/wince/GNUmakefile')
-rw-r--r-- | pkg/wince/GNUmakefile | 36 |
1 files changed, 28 insertions, 8 deletions
diff --git a/pkg/wince/GNUmakefile b/pkg/wince/GNUmakefile index b6acc3b8..82b1f1e3 100644 --- a/pkg/wince/GNUmakefile +++ b/pkg/wince/GNUmakefile @@ -1,15 +1,35 @@ include ../config.make -DEPS=$(shell ./wince-cabgen -d $(CONFIG_FILE)) -EXECUTABLES=$(filter %.exe, $(DEPS)) -CONFIG_FILE=wince-cab.cfg -OUTPUT_FILE=$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).cab +all: $(DOOM_CAB) $(HERETIC_CAB) $(HEXEN_CAB) -$(OUTPUT_FILE) : $(CONFIG_FILE) $(DEPS) - $(STRIP) $(EXECUTABLES) +clean: + rm -f $(DOOM_CAB) $(HERETIC_CAB) $(HEXEN_CAB) + +# Doom: + +DOOM_CAB=$(PROGRAM_PREFIX)doom-$(PACKAGE_VERSION).cab +DOOM_CFG=doom-cab.cfg +DOOM_DEPS=$(shell ./wince-cabgen -d $(DOOM_CFG)) + +$(DOOM_CAB) : $(DOOM_CFG) $(DOOM_DEPS) ./wince-cabgen $< $@ -clean: - rm -f $(OUTPUT_FILE) +# Heretic: + +HERETIC_CAB=$(PROGRAM_PREFIX)heretic-$(PACKAGE_VERSION).cab +HERETIC_CFG=heretic-cab.cfg +HERETIC_DEPS=$(shell ./wince-cabgen -d $(HERETIC_CFG)) + +$(HERETIC_CAB) : $(HERETIC_CFG) $(HERETIC_DEPS) + ./wince-cabgen $< $@ + +# Hexen: + +HEXEN_CAB=$(PROGRAM_PREFIX)hexen-$(PACKAGE_VERSION).cab +HEXEN_CFG=hexen-cab.cfg +HEXEN_DEPS=$(shell ./wince-cabgen -d $(HEXEN_CFG)) + +$(HEXEN_CAB) : $(HEXEN_CFG) $(HEXEN_DEPS) + ./wince-cabgen $< $@ |