3 # This script will create a generic Makefile template
4 # suitable for use with an installed eCos configuration.
6 # usage: <eCos_repository>/build_Makefile [<eCos_install_dir>]
7 # env: ${SRCS} - the default list of source files
8 # ${DST} - the default target
13 # Makefile for eCos tests
16 # Platform specific setups
22 \$(CC) -c \$(ECOS_GLOBAL_CFLAGS) -I\$(PREFIX)/include \$*.c
25 \$(CC) \$(ECOS_GLOBAL_LDFLAGS) -L\$(PREFIX)/lib -Ttarget.ld \$*.o -o \$@
27 SRCS=${SRCS-source_file.c}
29 DST=${DST-result_prog}
35 # Create actual parameters
37 `dirname $0`/build_Make.params ${ECOS_DIR}