summaryrefslogtreecommitdiff
path: root/pkg/wince/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/wince/GNUmakefile')
-rw-r--r--pkg/wince/GNUmakefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkg/wince/GNUmakefile b/pkg/wince/GNUmakefile
new file mode 100644
index 00000000..b6acc3b8
--- /dev/null
+++ b/pkg/wince/GNUmakefile
@@ -0,0 +1,15 @@
+
+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
+
+$(OUTPUT_FILE) : $(CONFIG_FILE) $(DEPS)
+ $(STRIP) $(EXECUTABLES)
+ ./wince-cabgen $< $@
+
+clean:
+ rm -f $(OUTPUT_FILE)
+