UC-7400-LX Plus User’s Manual
Programmer’s Guide
5-12
Make File Example
The following Makefile file example codes are copied from the Hello example on the
UC-7400-LX Plus CD-ROM.
CC = xscale_be-gcc
CPP = xscale_be-gcc
SOURCES = hello.c
OBJS = $(SOURCES:.c=.o)
all: hello
hello: $(OBJS)
$(CC) -o $@ $^ $(LDFLAGS) $(LIBS)
clean:
rm -f $(OBJS) hello core *.gdb