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