CC = sparc-gaisler-rtems5-gcc CFLAGS = -qbsp=gr740_smp -O2 -g -I/opt/rcc-1.3-rc9-gcc/src/rcc-1.3-rc9/testsuites/support/include LD = $(CC) CINCLUDE = LIBS = COMPILE = $(CC) $(CFLAGS) $(CINCLUDE) -c .c.o: $(COMPILE) $< #################################################### TARGET = locked_print.c init.c all: $(TARGET:.c=.o) $(CC) $(CFLAGS) $(TARGET:.c=.o) $(LIBS) -o init.exe clean: $(RM) *.a *.o *.bak core *.exe