Reworked the rule_copy_multi, rule_ref_multi, rule_compile_multi to avoid
[AROS.git] / workbench / demos / mmakefile.src
blob0f2aed5ec6351a06ac58cfb80a4d5cd0423bf2a3
1 #   $Id$
3 #   Makefile for AROS Demos
5 include $(TOP)/config/make.cfg
7 #   Some files cause problems for native compiles:
9 #   1) No working __chip keyword in the standard cc/ld
10 #   2) Missing functions because we don't link with libc.a
11 #   3) "Fixed or forbidden register was spilled"
13 ifeq ($(FLAVOUR),native)
14 FILES   := \
15     font2c gtdemo helloworld inquire intuitext librarytest listfonts \
16     keymaptest mxgads  readicon regiontest shadowborder sift strtest \
17     consoledemo serialtest window test_text 
19 else
20 FILES   := \
21     childchild \
22     childwindow \
23     colorwheel \
24     compleximage \
25     consoledemo \
26     coolbutton \
27     cxtest \
28     demowin \
29     dto \
30     easyreq \
31     filereq \
32     font2c \
33     fontreq \
34     gtdemo \
35     gtmultiselect \
36     intuitext \
37     lens \
38     listfonts \
39     menudemo \
40     modelclassdemo \
41     multiple_timers \
42     mxgads \
43     notify \
44     palettedemo \
45     readicon \
46     regiontest \
47     register \
48     realtdemo \
49     roundshape \
50     roundwindow \
51     rtdemo \
52     rtezrequest \
53     rtfont \
54     rtlong \
55     rtfile \
56     rtscreen \
57     rtstring \
58     rtpalette \
59     scrbackfill \
60     screenmodereq \
61     shadowborder \
62     sift \
63     simple_timer \
64     simpleimage \
65     strtest \
66     sysreq \
67     test_text \
68     winbackfill \
69     window \
70     winshape
71 endif
73 USER_CFLAGS := -I$(TOP)/workbench/libs
75 #MM demos :includes linklibs demos-images-setup workbench-demos-zune
77 %build_progs mmake=demos \
78     files=$(FILES) targetdir=$(AROSDIR)/Demos \
79     uselibs="coolimagesstatic arossupport amiga arosc m"
82 demos : $(AROSDIR)/Demos/forkbomb
84 # Don't need to compile this, so it gets a rule to itself.
85 $(AROSDIR)/Demos/forkbomb : forkbomb
86         @$(CP) $< $@
88 %common