summaryrefslogtreecommitdiff
path: root/pkg/wince/GNUmakefile
blob: 82b1f1e3143f49a827cbee7b3d94c65031fbf3c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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 $< $@