summaryrefslogtreecommitdiff
path: root/pkg/wince/GNUmakefile
diff options
context:
space:
mode:
authorSimon Howard2010-02-05 23:08:12 +0000
committerSimon Howard2010-02-05 23:08:12 +0000
commit677729c658b39f075e563fbc9f5a898641f7de54 (patch)
tree109bae4ac22fbc6f8a34ba34a4e9fc6a33e75c48 /pkg/wince/GNUmakefile
parent8a77b34e936a3fd752db3bc1113e3d7bd0555440 (diff)
parentb4f2d75b34b6e2b9bbb2fa6449125d3446a93a73 (diff)
downloadchocolate-doom-677729c658b39f075e563fbc9f5a898641f7de54.tar.gz
chocolate-doom-677729c658b39f075e563fbc9f5a898641f7de54.tar.bz2
chocolate-doom-677729c658b39f075e563fbc9f5a898641f7de54.zip
Merge from trunk.
Subversion-branch: /branches/raven-branch Subversion-revision: 1845
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 $< $@
+