summaryrefslogtreecommitdiff
path: root/pkg/wince/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/wince/GNUmakefile')
-rw-r--r--pkg/wince/GNUmakefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkg/wince/GNUmakefile b/pkg/wince/GNUmakefile
new file mode 100644
index 00000000..82b1f1e3
--- /dev/null
+++ b/pkg/wince/GNUmakefile
@@ -0,0 +1,35 @@
+
+include ../config.make
+
+all: $(DOOM_CAB) $(HERETIC_CAB) $(HEXEN_CAB)
+
+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 $< $@
+
+# 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 $< $@
+