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)
15 font2c gtdemo helloworld inquire intuitext librarytest listfonts \
16 keymaptest mxgads readicon regiontest shadowborder sift strtest \
17 consoledemo serialtest window test_text
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