1 # Copyright © 2002, The AROS Development Team. All rights reserved.
4 # Desc: Makefile to create genmodule
7 USER_CFLAGS
:= -Wall
-Wunused
-O2
9 -include $(TOP
)/config
/make.cfg
15 HOST_CFLAGS ?
= $(USER_CFLAGS
)
16 GENMODULE ?
= genmodule
20 GENMODULEINCLUDE
:= $(dir $(GENMODULE
))/genmod_inc
/aros
/libcall.h
22 $(GENMODULE
) : $(GENMODULE_DEPS
) $(GENMODULEINCLUDE
)
23 @
$(MECHO
) "Compiling $(notdir $@)..."
24 @
$(HOST_CC
) -g
$(HOST_CFLAGS
) -I
$(GENINCDIR
) $(GENMODULE_SRCS
) -o
$@
27 $(GENMODULEINCLUDE
) : include/aros
/libcall.h
32 @
$(RM
) $(GENMODULE
) $(GENMODULEINCLUDE
)