summaryrefslogtreecommitdiff
path: root/pkg/wince/GNUmakefile
blob: b6acc3b8ab9640a0774bf0a346f96ac20eeec31b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)