~eda-qa/dhlib/main

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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
include parent.makefile

HAXECP += -cp $(abspath .)

HXSRCPATH=$(abspath .)
ALLSRC:=$(HXSRC) $(HXLIBSRC)

all: wall-detect layout1 layout2 modalpopupmenu linearlayout tilepattern fxdemo UseActor.swf

test:
	echo "TODO: no tests for tutorial"

wall-detect: WallDetect.swf
WallDetect.swf: $(ALLSRC)
	$(STDFLASH) -main tutorial.WallDetect
	
# These layout tests use a smaller size to exaggerate the effect, and to
# allow the debug players to get a smaller size (it is often limited to be
# no smaller than this given size)
layout1: FLASHSIZE=400:200
layout1: Layout1.swf #Layout1.n
Layout1.swf: $(ALLSRC)
	$(STDFLASH) -main tutorial.Layout1
Layout1.n: $(ALLSRC)
	$(STDNEASH) -main tutorial.Layout1
	
layout2: FLASHSIZE=400:200
layout2: Layout2.swf #Layout2.n
Layout2.swf: $(ALLSRC)
	$(STDFLASH) -main tutorial.Layout2
Layout2.n: $(ALLSRC)
	$(STDNEASH) -main tutorial.Layout2
	
modalpopupmenu: ModalPopupMenu.swf
ModalPopupMenu.swf: $(ALLSRC)
	$(STDFLASH) -main tutorial.ModalPopupMenu
ModalPopupMenu.n: $(ALLSRC)
	$(STDNEASH) -main tutorial.ModalPopupMenu

linearlayout: FLASHSIZE=400:200
linearlayout: LinearLayout.swf
LinearLayout.swf: $(ALLSRC)
	$(STDFLASH) -main tutorial.LinearLayout
	
tilepattern: TilePattern.swf
TilePattern.swf: $(ALLSRC)
	$(STDFLASH) -main tutorial.TilePattern
	
fxdemo: FXDemo.swf
FXDemo.swf: $(ALLSRC)
	$(STDFLASH) -main tutorial.FXDemo
	
UseActor.swf: $(ALLSRC)
	$(STDFLASH) -main tutorial.UseActor