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)15
1 files changed, 10 insertions, 5 deletions
diff --git a/pkg/wince/GNUmakefile.am b/pkg/wince/GNUmakefile
index a203e63c..82b1f1e3 100644
--- a/pkg/wince/GNUmakefile.am
+++ b/pkg/wince/GNUmakefile
@@ -1,7 +1,14 @@
+include ../config.make
+
+all: $(DOOM_CAB) $(HERETIC_CAB) $(HEXEN_CAB)
+
+clean:
+ rm -f $(DOOM_CAB) $(HERETIC_CAB) $(HEXEN_CAB)
+
# 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))
@@ -10,7 +17,7 @@ $(DOOM_CAB) : $(DOOM_CFG) $(DOOM_DEPS)
# 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))
@@ -19,12 +26,10 @@ $(HERETIC_CAB) : $(HERETIC_CFG) $(HERETIC_DEPS)
# 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))
$(HEXEN_CAB) : $(HEXEN_CFG) $(HEXEN_DEPS)
./wince-cabgen $< $@
-noinst_DATA = $(DOOM_CAB) $(HERETIC_CAB) $(HEXEN_CAB)
-