Don't use IoErr functions for the program's return code!
[AROS.git] / rom / hidds / graphics / mmakefile.src
blobb389854181fc9311b42f8c76c12a8601c81e2691
1 #$Id$
2 include $(TOP)/config/make.cfg
4 COLORCONVFILES := \
5                 rgbconv \
6                 rgbconv_arch \
7                 colorconv_init \
9 FILES       := graphics_init GraphicsClass BM_Class CM_Class GC_Class  \
10                planarbm chunkybm convertpixels memblit  \
11                pixfmt sync
13 USER_CFLAGS      := -DAROS_USE_OOP
14 USER_CFLAGS      += -Wno-parentheses
15 USER_CFLAGS      += -D__GRAPHICS_NOLIBBASE__ \
16                     -D__OOP_NOLIBBASE__ \
17                     -D__UTILITY_NOLIBBASE__
19 %build_module mmake=kernel-hidd-graphics \
20   modname=graphics modtype=hidd \
21   files="$(FILES) $(COLORCONVFILES)"
23 LIBNAME     := graphics
25 INCLUDE_FILES    := $(call WILDCARD, include/*.h)
27 %copy_includes path=hidd dir=include
29 #MM
30 clean ::
31         -$(RM) $(OBJDIR) *.err $(LIB) *.s
34 %common