summaryrefslogtreecommitdiff
path: root/pkg/wince
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/wince')
-rw-r--r--pkg/wince/GNUmakefile (renamed from pkg/wince/GNUmakefile.am)25
1 files changed, 15 insertions, 10 deletions
diff --git a/pkg/wince/GNUmakefile.am b/pkg/wince/GNUmakefile
index a203e63c..3b8171aa 100644
--- a/pkg/wince/GNUmakefile.am
+++ b/pkg/wince/GNUmakefile
@@ -1,30 +1,35 @@
+include ../config.make
+
# Doom:
-DOOM_CAB=chocolate-doom-@PACKAGE_VERSION@.cab
+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 $< $@
-
# Heretic:
-HERETIC_CAB=chocolate-heretic-@PACKAGE_VERSION@.cab
+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=chocolate-hexen-@PACKAGE_VERSION@.cab
+HEXEN_CAB=$(PROGRAM_PREFIX)hexen-$(PACKAGE_VERSION).cab
HEXEN_CFG=hexen-cab.cfg
HEXEN_DEPS=$(shell ./wince-cabgen -d $(HEXEN_CFG))
+all: $(DOOM_CAB) $(HERETIC_CAB) $(HEXEN_CAB)
+
+$(DOOM_CAB) : $(DOOM_CFG) $(DOOM_DEPS)
+ ./wince-cabgen $< $@
+
+$(HERETIC_CAB) : $(HERETIC_CFG) $(HERETIC_DEPS)
+ ./wince-cabgen $< $@
+
$(HEXEN_CAB) : $(HEXEN_CFG) $(HEXEN_DEPS)
./wince-cabgen $< $@
-noinst_DATA = $(DOOM_CAB) $(HERETIC_CAB) $(HEXEN_CAB)
+clean:
+ rm -f $(DOOM_CAB) $(HERETIC_CAB) $(HEXEN_CAB)